I set on CreateUserWizard the DisableCreateUser to True.
Now for checking if the user is approve when his logging,
I set this in: Login1_Authenticate (the Login Control Auth.)
if (Membership.ValidateUser(Login1.UserName ,Login1.Password))
MembershipUser mu = Membership.GetUser(Login1.UserName);
e.Authenticated = true;
Login1.FailureText = "Your account is not activated, please activate your account through the email we sent you";
e.Authenticated = false;
But it's not working,
it's not even enter the if.
What I do wrong?
Is there another way doing it?
How to fix it?
View Complete Post