Commit 709b3a40 by chenxianqi

remove login a k

parent c3e9e9eb
Showing with 0 additions and 1 deletions
......@@ -61,7 +61,6 @@ func (c *AuthController) Login() {
c.Data["json"] = utils.ResponseError(c.Ctx, "用户不存在!", nil)
} else {
queryAdmin.Password = ""
queryAdmin.Token = ""
queryAdmin.Token = utils.GenerateToken(queryAdmin)
_, err := o.Update(&queryAdmin, "Token")
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment