diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx index 95c425dc7..ed074b9c4 100644 --- a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx +++ b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx @@ -74,6 +74,13 @@ export function UpdateAccountPassword({ type: "error", title: i18n.str`Your current password doesn't match, can't change to a new password.` }) + case HttpStatusCode.Accepted: { + resp.body.challenge_id; + return notify({ + type: "info", + title: i18n.str`Cashout created but confirmation is required.`, + }); + } default: assertUnreachable(resp) } } |