mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 09:46:40 +03:00
a little cleanup after SSO merge (#6153)
* fix some typos * rename scss variable to sso_enabled * refactor is_mobile to device * also mask sensitive sso config options
This commit is contained in:
1 parent
a133d4e90c
commit
5ea0779d6b
16 files changed
+55
-49
No files matched your search
+1
-1
@@ -1174,7 +1174,7 @@ impl AuthTokens {
|
||||
|
||||
let access_claims = LoginJwtClaims::default(device, user, &sub, client_id);
|
||||
|
||||
let validity = if DeviceType::is_mobile(&device.atype) {
|
||||
let validity = if device.is_mobile() {
|
||||
*MOBILE_REFRESH_VALIDITY
|
||||
} else {
|
||||
*DEFAULT_REFRESH_VALIDITY
|
||||
|
||||
Reference in new issue
Block a user