locked
Change password requirements RRS feed

  • Question

  • User599474914 posted

    Where does one change the password requitements?

    I would like to eliminate the non alpha numeric requirement and shorten the character length.

    Thank you.

    Tuesday, November 6, 2007 9:21 AM

All replies

  • User300685930 posted

    You need to add a section to your web.config that overrides the machine.config settings for membership.  It should look something like this:

    <membership defaultProvider=”SqlMembershipProvider” userIsOnlineTimeWindow=”15″>
    <providers>
        <clear/>
        <add name=”SqlMembershipProviderOther” type=”SqlProviderOneShot.SqlMembershipProvider”
        requiresQuestionAndAnswer=”false”
         connectionStringName=”EmailEmailConnectionString” applicationName=”EmailEmail”
        enablePasswordRetrieval=”false” enablePasswordReset=”true” 
        requiresUniqueEmail=”true” passwordFormat=”Hashed”
        minRequiredNonalphanumericCharacters=”0″ writeExceptionsToEventLog=”false”
        minRequiredPasswordLength=”1″ passwordStrengthRegularExpression=”"
        passwordAttemptWindow=”10″ maxInvalidPasswordAttempts=”8″/>
    </providers>
    </membership>
    Tuesday, November 6, 2007 9:39 AM
  • User644139582 posted

    Shouldn't your answer be marked as an answer?

    Tuesday, March 15, 2011 2:34 PM