We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
verify_email
1 parent c47cac8 commit 3db5b82Copy full SHA for 3db5b82
crates/router/src/types/domain/user/decision_manager.rs
@@ -42,7 +42,7 @@ impl SPTFlow {
42
Self::TOTP => Ok(true),
43
// Main email APIs
44
Self::AcceptInvitationFromEmail | Self::ResetPassword => Ok(true),
45
- Self::VerifyEmail => Ok(user.0.is_verified),
+ Self::VerifyEmail => Ok(!user.0.is_verified),
46
// Final Checks
47
Self::ForceSetPassword => user.is_password_rotate_required(state),
48
Self::MerchantSelect => user
0 commit comments