mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 01:58:00 +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