Configuring Create User Form Fields
By default, the CreateUserWizard
control displays the following form fields:
• Username
• Password
• Confirm Password
• Security Question
• Security Answer
These are the default form fields. The last three fields are optional.
If you don’t want to require a user to enter either an email address or a security question and answer, you need to modify the configuration of the default membership provider. The web configuration file in Listing 26.13 makes both an email address and security question and answer optional.
Listing 26.13. Web.Config
If you add the web configuration file in Listing 26.13 to your ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.