chore: fix typo

This commit is contained in:
Noah Hsu 2022-07-10 16:20:13 +08:00
parent 69d1287254
commit a25d76ef6e

View File

@ -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
}