mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 13:54:04 +08:00
✏️ Invalid Token
This commit is contained in:
parent
8fc7c716c0
commit
a2c7ff3262
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user