mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
fix(authentication): fixed terminal state persistence for redirect response (#8916)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -7655,6 +7655,10 @@ impl TransactionStatus {
|
||||
Self::ChallengeRequired | Self::ChallengeRequiredDecoupledAuthentication
|
||||
)
|
||||
}
|
||||
|
||||
pub fn is_terminal_state(self) -> bool {
|
||||
matches!(self, Self::Success | Self::Failure)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user