Merge pull request #176 from Yazzyk/v2.0

处理了 2 个漏洞,并增加验证码方式选择
This commit is contained in:
孟帅
2025-07-01 00:07:53 +08:00
committed by GitHub
10 changed files with 85 additions and 73 deletions

View File

@@ -154,7 +154,7 @@ func (s *sAdminSite) AccountLogin(ctx context.Context, in *adminin.AccountLoginI
}
if mb == nil {
err = gerror.New("账号不存在")
err = gerror.New("用户名或密码错误")
return
}