From ded0ad6f8592eb8abfd17275c25419af467f829a Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Mon, 5 Aug 2024 20:28:57 +0500 Subject: [PATCH] admin: actualize LOGIN_REMEMBER_DAYS recommendation --- docs/admin/recommendations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/recommendations.md b/docs/admin/recommendations.md index d6a0516e..5be41884 100644 --- a/docs/admin/recommendations.md +++ b/docs/admin/recommendations.md @@ -57,7 +57,7 @@ If your instance expects users to contribute to other repositories within your i ### `[security].LOGIN_REMEMBER_DAYS` -When a user logs in with the remember option enabled, they receive a long-term authentication cookie that is remembered for a number of days, determined by this setting. The default setting is seven days, which is much less than other major services and can be frustrating for the user to log in every week. +When a user logs in with the remember option enabled, they receive a long-term authentication cookie that is remembered for a number of days, determined by this setting. The default value is one month, which much may be less than other services and could be frustrating for the user to log in every month. If your instance does not need to adhere to a security policy that mandates a different value, it is recommended that you change this value to **365**. In that case, the long-term authentication cookie will be stored on the user's device for one year.