mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 12:03:36 +02:00
fix #2020
This commit is contained in:
1 parent
56c66ee486
commit
7f9598141b
8 files changed
+10
-10
No files matched your search
@@ -54,7 +54,7 @@ func AutoSignIn(ctx *Context) (bool, error) {
|
||||
}
|
||||
|
||||
if val, _ := ctx.GetSuperSecureCookie(
|
||||
base.EncodeMd5(u.Rands+u.Passwd), setting.CookieRememberName); val != u.Name {
|
||||
base.EncodeMD5(u.Rands+u.Passwd), setting.CookieRememberName); val != u.Name {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user