mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 14:37:36 +02:00
Remember login for a month by default (#30150)
Previously, the default was a week. As most instances don't set the setting, this leads to a bad user experience by default. ## ⚠️ Breaking If your instance requires a high level of security, you may want to set `[security].LOGIN_REMEMBER_DAYS` so that logins are not valid as long. --------- Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
1 parent
7ba485bd49
commit
0d5abe3454
4 files changed
+4
-4
No files matched your search
@@ -441,7 +441,7 @@ INTERNAL_TOKEN =
|
||||
;INTERNAL_TOKEN_URI = file:/etc/gitea/internal_token
|
||||
;;
|
||||
;; How long to remember that a user is logged in before requiring relogin (in days)
|
||||
;LOGIN_REMEMBER_DAYS = 7
|
||||
;LOGIN_REMEMBER_DAYS = 31
|
||||
;;
|
||||
;; Name of the cookie used to store the current username.
|
||||
;COOKIE_USERNAME = gitea_awesome
|
||||
|
||||
Reference in new issue
Block a user