October 2010
Intermediate to advanced
1920 pages
73h 55m
English
When you use the CreateUserWizard control to register, you are required to select a security question and answer. The PasswordRecovery control displays a form that contains the security question. If you cannot enter the correct security answer, your password is not sent.
If you do not want to require users to answer a security question before receiving their passwords, you can modify the configuration of the membership provider. The web configuration file in Listing 26.36 assigns the value false to the requiresQuestionAndAnswer attribute.
Listing 26.36. Web.Config

Read now
Unlock full access