diff options
author | Nils Mittler <[email protected]> | 2023-02-20 16:10:30 +0100 |
---|---|---|
committer | Nils Mittler <[email protected]> | 2023-02-20 16:10:30 +0100 |
commit | 9a5f3a501563a3a314c71619f893db3eed14333e (patch) | |
tree | a7b103608446b49fdaa530d067a66f21cad4dceb /.env.template | |
parent | 1ba8275dcb53bf8e6f41ad2fa2e0a09f3674ff74 (diff) | |
download | vaultwarden-9a5f3a501563a3a314c71619f893db3eed14333e.tar.gz vaultwarden-9a5f3a501563a3a314c71619f893db3eed14333e.zip |
Make the admin cookie lifetime adjustable
Diffstat (limited to '.env.template')
-rw-r--r-- | .env.template | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.env.template b/.env.template index d2eb768e..0f8f3c31 100644 --- a/.env.template +++ b/.env.template @@ -335,6 +335,9 @@ ## Allow a burst of requests of up to this size, while maintaining the average indicated by `ADMIN_RATELIMIT_SECONDS`. # ADMIN_RATELIMIT_MAX_BURST=3 +## Set the lifetime of the cookie that is used to authorize admin requests to this value (in minutes). +# ADMIN_COOKIE_LIFETIME=20 + ## Yubico (Yubikey) Settings ## Set your Client ID and Secret Key for Yubikey OTP ## You can generate it here: https://upgrade.yubico.com/getapikey/ |