Winner
Winners see possibilities; Losers see problems.

Define login and password property for ASP.Net Login Component

Tuesday, 13 May 2008 19:29 by niyaznazari

To define if the password contains non alpah numeric character or not and minumum password length, you can add these lines to the web.config of your project:

<membership defaultProvider="CustomizedProvider">
      <providers>
        <add name="CustomizedProvider" 
             .....
             minRequiredPasswordLength="8"
             minRequiredNonalphanumericCharacters="0" />
      </providers>
</membership>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

November 20. 2008 09:26