Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Password recovery with OTP #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jadl456
Copy link
Contributor

@jadl456 jadl456 commented Oct 25, 2024

What kind of change does this PR introduce?

Feature

What is the current behavior?

Currently, the password recovery system only supports magic link reset via email. Users receive an email with a link to reset their password.

What is the new behavior?

  • Adds option to use OTP (One-Time Password) for password recovery
  • New flow includes:
    • User requests password reset with their email
    • User receives OTP code via email
    • User enters OTP code and new password with confirmation
    • Password is updated after successful OTP verification
  • Added new localizations for OTP-related messages
  • Added customizable OTP input icon
  • Added password confirmation field with validation
  • Added proper error handling for invalid OTP codes

Additional context

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant