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