mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-27 04:09:05 +08:00
修复第一次登录失败的BUG
This commit is contained in:
@@ -177,7 +177,6 @@ func (c *AccountController) DingTalkLogin() {
|
||||
_ = member.Update("last_login_time")
|
||||
|
||||
c.SetMember(*member)
|
||||
c.LoggedIn(false)
|
||||
}
|
||||
c.JsonResult(0, "ok", username)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user