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

Create register and forgot password pages #5

Closed
shivankacker opened this issue Apr 26, 2023 · 0 comments
Closed

Create register and forgot password pages #5

shivankacker opened this issue Apr 26, 2023 · 0 comments

Comments

@shivankacker
Copy link
Member

create a register page that accepts email, username, password, full name. This should be identical to the /login page.

Create a /forgot-password page, accepting an email address.

Create a /reset-password page, that accepts an OTP and user_id in the query params. First, make a request to /verify-forgot-token to fetch username and email. Once that is done, load the page and show change password for <user> title accepting a password and reenter password field. Perform the reenter validation at frontend.

Once complete, redirect to /login.

Club all of these pages inside an (auth) group along with the login page in app directory, sharing the same layout for ease of development.

This issue is dependent on ohcnetwork/ayushma#71

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

No branches or pull requests

1 participant