mirror of https://github.com/Xhofe/alist
chore: fix typo
parent
69d1287254
commit
a25d76ef6e
|
@ -26,7 +26,7 @@ func Login(c *gin.Context) {
|
|||
ip := c.ClientIP()
|
||||
count, ok := loginCache.Get(ip)
|
||||
if ok && count >= defaultTimes {
|
||||
common.ErrorStrResp(c, "Too many unsuccessful sign-in attempts have been made using an incorrect username or password. Try again later.", 403)
|
||||
common.ErrorStrResp(c, "Too many unsuccessful sign-in attempts have been made using an incorrect username or password, Try again later.", 403)
|
||||
loginCache.Expire(ip, defaultDuration)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue