后台登录取消谷歌验证,密码正确即登录

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 17:26:24 +08:00
co-authored by Claude Opus 5.5
parent 07fcde2148
commit d378ddb0ab
2 changed files with 14 additions and 41 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func AccLogin(c *gin.Context) {
return
}
accInfo, err := srv_mwacc.AccLogin(c, req.Acc, req.Pwd, req.Code)
accInfo, err := srv_mwacc.AccLogin(c, req.Acc, req.Pwd)
if err != nil || accInfo == nil {
common.ServerJSON(c, err.Code, err.Msg)
return