Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

SqlMembershipProvider: requiresQuestionAndAnswer set to false in web.config but RequiresQuestionAndAnswer is true at runtime

$
0
0

In an ASP.net web application I have defined the following Membership provider in the web.config:

<membership><providers><add connectionStringName="MyServer" name="MyServer" type="System.Web.Security.SqlMembershipProvider"
      enablePasswordReset="true"
      requiresQuestionAndAnswer="false"
      enablePasswordRetrieval="false" /></providers></membership>

When I run the application in the debugger, the property Membership.Provider.RequiresQuestionAndAnswer istrue .

Why? And how can I fix this?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>