1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-21 03:28:25 +00:00

Make the admin cookie lifetime adjustable

This commit is contained in:
Nils Mittler 2023-02-20 16:10:30 +01:00 committed by Daniel García
commit 2bb41367bc
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
3 changed files with 7 additions and 1 deletions

View file

@ -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/