Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • fabio 87 posts 107 karma points
    Jan 12, 2011 @ 14:53
    fabio
    0

    minimum password requirements

    HI richard

     

    is there a way to set the minimum password requirements when i set the generate password flag?

    i need to generate a little loger passwords.

     

    regards

    Fabio

     

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Jan 12, 2011 @ 15:10
    Richard Soeteman
    0

    Hi Fabio,

    Its generating a password based on the minRequiredPasswordLength attribute on the Membership element in the web.config file

    http://msdn.microsoft.com/en-us/library/system.web.security.membership.minrequiredpasswordlength.aspx

    In the example below I set it to 25 and CMSImport generates passwords that are 25 characters long

    <

     

     

    add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" minRequiredPasswordLength="25" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />

    Hope this helps you,

    Richard

  • fabio 87 posts 107 karma points
    Jan 12, 2011 @ 15:11
    fabio
    0

    it's more then required thanks a lot

    Fabio

Please Sign in or register to post replies

Write your reply to:

Draft