Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Developing a LightSwitch Application which needs a Login Credential to Access the Application. That I had Done, but if the User Forgot the password than what ???. There is no link given of "Forgot Password" at the login time. How can I get out this problem.

And thanks in advance.

Regards,
Sharad Soni.
Posted

1 solution

LightSwich passwords are encrypted. This means that, in line with security best practices, they cannot be reversed, so it is not possible to resupply the password to the user. What you do, instead, is send a link to the email address the user was registered against, with a random password (also updating the password in the database). The user can then reset their password once they have successfully registered with this random password.
 
Share this answer
 
Comments
sharadrsoni 8-Mar-12 8:13am    
Thanks Pete O'Hanlon for your Solution but I am not Much Expert in LightSwitch. I am developing the Application by watching "How Do I ?" videos from MSDN. If Possible can you give the Pictorial Representation of your Solution so that I get an Exact Idea that what to do to solve the Problem.

Regards,
Sharad Soni
Pete O'Hanlon 8-Mar-12 8:48am    
Sorry, I don't have a representation, but the following thread should help you: http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/535dba19-ac97-4909-a49f-62b109c287fd

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900