I have set up the email confirmation as shown in radezn documentation for blazor.
Email confirmation works fine during registering new user, but forgot password link is not visible
I tweaked the razor markup and set it's visibility to true just to test it (was false by default), now can see it on the login page, but upon clicking it, nothing happens though, any pointers for this?
Here's what's happening on my end. I'm just now trying to add the Forgot Password feature into the security. I clicked the allowResetPassword flag on the Login page, but the functionality isn't activated. I don't see a form for Resetting the password. How do I get the functionality activated?
The only way i could get this to work was to change the reset/forgot link to open a new dialog and put in a standard html form with method="post" action="account/resetpassword" and change the parameter in the resetpassword method to be string Email, then it worked fine. Not sure why i can't get it to work as per @enchev's previous post but at least my method works even if there is a better solution.
And remember to put this new form and the accountcontroller in the list of excluded files.
Can you show me what code/event you used to trigger the actual reset password function? The link shows up but doesn't seem to do anything. What am I missing to get this functionality up and running?
I changed the reset password link on the log in page to open a new page i called resetpasswordpage and on this new page i set the form submit action to be account/resetpassword
Thanks John for all this, you definitely went way above and beyond and I really appreciate it.
@enchev After reviewing John's work and working to implement it, it became clear to me that there is something missing from my application. Again it's very likely because I didn't add security and email until later in the process, but the entire reset password functionality listed in John's example is missing. There's no ResetPassword method and there's no SendResetPasswordEmail method as well for me to call. Can someone please take a look at my application and give me some guidance?
Hello! Somehow the forgot password is not working. The link is there but nothing happens. I also noticed that there is no event handler under the forgot password, like there is in your screenshot. Email confirmation is also enabled. Am I missing something?