codeandpepper / janush

Set up a modern codebase for cloud-native web app with authentication features by running one command
https://janush.dev
MIT License
14 stars 1 forks source link

Change the flow with reset password procedure or fix the issue with email templates #256

Closed arkjel closed 2 years ago

arkjel commented 2 years ago

There is some issue in the app. When we fill the reset password form we should send the email template with the reset password link but it doesn't work now and the user is getting only the verification code to reset they password.

We have two options:

Current screen when the user fill the Reset password form: image

The screen after sign up process which can be adjust to the new reset password flow:

image

After that we should show the screen with two inputs fields (password & confirm password) with validation. At the end of the flow the user should be redirected to the sign in page

MastalerzKamil commented 2 years ago

The proposed screen seems a better solution however the problem can be many requests for resend email from bots or impatient users so there should be an extra timer for resend email