Timshel
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/sso.rs
|
@ -19,7 +19,7 @@ use crate::{ |
|
|
CONFIG, |
|
|
CONFIG, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
pub static FAKE_IDENTIFIER: &str = "Vaultwarden"; |
|
|
pub static FAKE_IDENTIFIER: &str = "VW_DUMMY_IDENTIFIER_FOR_OIDC"; |
|
|
|
|
|
|
|
|
static AC_CACHE: Lazy<Cache<OIDCState, AuthenticatedUser>> = |
|
|
static AC_CACHE: Lazy<Cache<OIDCState, AuthenticatedUser>> = |
|
|
Lazy::new(|| Cache::builder().max_capacity(1000).time_to_live(Duration::from_secs(10 * 60)).build()); |
|
|
Lazy::new(|| Cache::builder().max_capacity(1000).time_to_live(Duration::from_secs(10 * 60)).build()); |
|
|