✏️ Invalid Token

pull/548/head
微凉 2022-01-26 16:27:38 +08:00
parent 8fc7c716c0
commit a2c7ff3262
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func Auth(c *gin.Context) {
//}
//if token != utils.GetMD5Encode(password.Value) {
if token != conf.Token {
common.ErrorStrResp(c, "Wrong password", 401)
common.ErrorStrResp(c, "Invalid token", 401)
return
}
c.Next()