mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-04 22:55:20 +08:00
[系统用户]增加OTP动态密码二次认证
This commit is contained in:
@@ -6,7 +6,9 @@ import (
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
server.Prefix("/").
|
||||
server.
|
||||
Post("/checkOTP", new(CheckOTPAction)).
|
||||
Prefix("/").
|
||||
GetPost("", new(IndexAction)).
|
||||
EndAll()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user