mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-26 19:26:49 +02:00
2fa email fallback need a verified email (#7770)
Co-authored-by: Timshel <timshel@users.noreply.github.com> Co-authored-by: Mathijs van Veluw <black.dex@gmail.com>
This commit is contained in:
3 files changed
+12
-7
No files matched your search
+1
-1
@@ -253,7 +253,7 @@ impl LoginJwtClaims {
|
||||
premium: true,
|
||||
name: user.name.clone(),
|
||||
email: user.email.clone(),
|
||||
email_verified: !CONFIG.mail_enabled() || user.verified_at.is_some(),
|
||||
email_verified: user.verified(),
|
||||
|
||||
// ---
|
||||
// Disabled these keys to be added to the JWT since they could cause the JWT to get too large
|
||||
|
||||
Reference in new issue
Block a user