]> source.dussan.org Git - gitea.git/commit
Remember login for a month by default (#30150)
authordelvh <dev.lh@web.de>
Thu, 28 Mar 2024 03:13:42 +0000 (04:13 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 03:13:42 +0000 (03:13 +0000)
commit0d5abe3454c73f11d90d2809af0949a0e0636c22
tree6b6aa5510347ff1d98bcbea818a4837a4d8e76a9
parent7ba485bd494b0d7a4091806afa73a7f03dc44743
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.

## :warning: 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>
custom/conf/app.example.ini
docs/content/administration/config-cheat-sheet.en-us.md
docs/content/administration/config-cheat-sheet.zh-cn.md
modules/setting/security.go