0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-26 07:44:26 -04:00
This commit is contained in:
Unknwon
2015-11-24 18:49:34 -05:00
parent 56c66ee486
commit 7f9598141b
8 changed files with 10 additions and 10 deletions

View File

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