修改提示信息
This commit is contained in:
parent
8a73a71a0d
commit
44da98dc5d
@ -183,7 +183,7 @@ func LogoutEndpoint(c echo.Context) error {
|
|||||||
|
|
||||||
func ConfirmTOTPEndpoint(c echo.Context) error {
|
func ConfirmTOTPEndpoint(c echo.Context) error {
|
||||||
if global.Config.Demo {
|
if global.Config.Demo {
|
||||||
return Fail(c, 0, "演示模式禁止修改密码")
|
return Fail(c, 0, "演示模式禁止开启两步验证")
|
||||||
}
|
}
|
||||||
account, _ := GetCurrentAccount(c)
|
account, _ := GetCurrentAccount(c)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user