IAV-1070: split reset-password flow into OTP verification and new-password steps
- Added a two-step reset-password page flow:
- Step 1
/auth/reset-password— OTP-only page usingotpValidationSchema - Step 2
/auth/reset-password/new-password— new password form usingnewPasswordValidationSchema; redirects back if OTP is missing or invalid - Split
passwordResetValidationSchemaintootpValidationSchema+newPasswordValidationSchema - Made
ResetPasswordHeaderaccept optionaltitleandsubtitleprops for reuse across both steps - Created
NewPasswordFormcomponent with password strength bar, rules checklist, and success view - Fixed OTP input bug:
String.padEnd(6, '')produced an empty array — replaced withArray.from({ length: 6 }, ...) - Added
auth.resetPasswordNewPasswordpath constant - Exported
NewPasswordFormfrom the component index
- Step 1