I want to simply get in my code if the user has his email confirmed or not. Without an async method. Can someone help me please?
Asked
Active
Viewed 282 times
1 Answers
1
Couple of options, if i understood your question correctly:
In your database add another 2 columns "EmailConfirmationID" perhaps of type GUID (UniqueIdentifier) and Verified (bit). When the user registers you can insert a new value into EmailConfirmationID send this link to the user (creating a URL) via email. When they click this link within the email you would have the page handle their request and set Verified to true.
Have a look at this link http://www.asp.net/identity/overview/features-api/account-confirmation-and-password-recovery-with-aspnet-identity

Computer
- 2,149
- 7
- 34
- 71
-
2this is what I did my friend at the end.. :D .. thank you! – Give IT Aug 06 '16 at 12:13