Click here to Skip to main content
14,329,523 members
Rate this:
Please Sign up or sign in to vote.
See more:
Is there a way to let the system generate the random password and send email to the user with a link  to login page where user is required to create his own password. I saw various examples talking about ASP.NET membership table but that table is not in Identity 2.o. I think on similar term user can be forced to change password after few days (say 60 days)
Rate this:
Please Sign up or sign in to vote.

Solution 2

It is better you check the days for last password change and for sending the random password generated by the system, you can use GUID the best unique secure and random values, produced by Microsoft. Follow here GUID[^]
You can also have a windows service to be regularly called in time given to send mail for password update along with a random password.

Hope this helps
Thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100