Make the admin cookie lifetime adjustable

This commit is contained in:
Nils Mittler
2023-02-20 16:10:30 +01:00
parent 1ba8275dcb
commit 9a5f3a5015
3 changed files with 7 additions and 1 deletions

View File

@@ -581,6 +581,9 @@ make_config! {
/// Max burst size for admin login requests |> Allow a burst of requests of up to this size, while maintaining the average indicated by `admin_ratelimit_seconds`
admin_ratelimit_max_burst: u32, false, def, 3;
/// Admin cookie lifetime |> Set the lifetime of the cookie that is used to authorize admin requests to this value (in minutes).
admin_cookie_lifetime: i64, true, def, 20;
/// Enable groups (BETA!) (Know the risks!) |> Enables groups support for organizations (Currently contains known issues!).
org_groups_enabled: bool, false, def, false;
},