03 Mar 2005
05 May 2009
Link to this post
I am creating my own custom registration because we have other questions we need to ask over the ones that are in the base registration control and our designer wants it to look a certain way. I created it with the following code:
// Create SiteFinity UserManager class to create user in SiteFinity.
UserManager userMgr = new UserManager();
MembershipCreateStatus userCreateStatus = new MembershipCreateStatus();
MembershipUser createdMembershipUser = userMgr.CreateUser(txtEmail.Text, txtPassword.Text, txtEmail.Text,"","", true, out userCreateStatus);
The problem is that when I call this it wants me to specify a secret question and answer. Can I avoid this by setting something in web.config? I dont want a secret question and answer system.