diff options
author | Nils Mittler <[email protected]> | 2023-02-20 17:02:14 +0100 |
---|---|---|
committer | Daniel GarcĂa <[email protected]> | 2023-02-21 21:37:24 +0100 |
commit | 0f656b4889d67cfd3c05f92f2963a600945128fe (patch) | |
tree | f4f5997b454219ee4a0ff8d41fadffb4f0c4813e /src/api/admin.rs | |
parent | 6fa1dc50bedb4a391a786fdd30fb3814a9d11f2d (diff) | |
download | vaultwarden-0f656b4889d67cfd3c05f92f2963a600945128fe.tar.gz vaultwarden-0f656b4889d67cfd3c05f92f2963a600945128fe.zip |
Apply rewording
Diffstat (limited to 'src/api/admin.rs')
-rw-r--r-- | src/api/admin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin.rs b/src/api/admin.rs index 92c8e3b8..d875d8be 100644 --- a/src/api/admin.rs +++ b/src/api/admin.rs @@ -184,7 +184,7 @@ fn post_admin_login(data: Form<LoginForm>, cookies: &CookieJar<'_>, ip: ClientIp let cookie = Cookie::build(COOKIE_NAME, jwt) .path(admin_path()) - .max_age(rocket::time::Duration::minutes(CONFIG.admin_cookie_lifetime())) + .max_age(rocket::time::Duration::minutes(CONFIG.admin_session_lifetime())) .same_site(SameSite::Strict) .http_only(true) .finish(); |