I've created a user control to contain the entire login process ( login, change password, recover password etc) I have now been asked if I can change the random generated password as it is just to long. I am not sure where I would add this method call. Can someone guide me or point me an article ?
here is the code I have. We're trying to use as much of the canned control as possible. I am not sure if I need to rebuild the recovery password entirely to be able to do this or if i can just add it to one of the events.
#region Password Recovery methods
protected void prPassRecovery_VerifyingUser(object sender, LoginCancelEventArgs e)
{
string username = Membership.GetUserNameByEmail(prPassRecovery.UserName);
if (string.IsNullOrEmpty(username))
{
//send a message to a warning label on the page
lblPassEnterWrong.Visible = true;
return;
}
...
Go to the complete details ...