Summary
After verifying the reset TAN, this screen lets you set a new password. Enter your new password twice and click "Reset password". The app then logs you out and redirects to the reset-confirmed screen.
Page Functionalities
- Heading — "Enter new password" with explanatory text.
- New password field (PasswordFormField, hint: "Your password") — Must be at least 8 characters.
- Retype password field (PasswordFormField, hint: "Retype your password") — Must match the new password.
- "Reset password" button (ElevatedButton) — Submits the new password to Supabase and redirects to
/resetpasswordconfirmed.
- "Login with an existing account" link — Cancels the reset and goes to
/login.
- Error banner — Shown if the password reset request fails.
Scenarios
Set a new password
- You arrive here after successfully verifying the reset TAN.
- Enter a new password (minimum 8 characters).
- Enter the same password in the "Retype your password" field.
- Click Reset password.
- On success you are logged out and navigated to
/resetpasswordconfirmed.
- On failure an error banner explains the issue.
Cancel reset
- Click Login with an existing account to go to
/login.