Copied to clipboard

Flag this post as spam?

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


  • Natasha 79 posts 195 karma points
    May 16, 2016 @ 10:21
    Natasha
    0

    Change number of failed login attempts

    Hi

    I am using Umbraco 7.3 and the default number of failed login attempts is 5 in the membership area. I would like to change this to 10 but I have no idea how or where. I found old threads in umbraco 4 to add umbracoLockPropertyTypeAlias="lock" to the web.config . Is this still the case and if so after I've added that where do I put the property alias so that I can edit the number.

    Thanks in advance Natasha

  • Jinesh Kaneriya 22 posts 155 karma points
    May 16, 2016 @ 11:13
    Jinesh Kaneriya
    101

    Hi,

    in config file

    <membership defaultProvider="**********" 
      userIsOnlineTimeWindow="20">
      <providers>
        <add name="SqlProvider"
          type="*******"
          connectionStringName="*****"      
          maxInvalidPasswordAttempts="5" />
      </providers>
    </membership>
    

    add maxInvalidPasswordAttempts="10" .

  • Natasha 79 posts 195 karma points
    May 18, 2016 @ 10:58
    Natasha
    3

    Thanks Jinesh

    Adding it to the above gave an error, I had to add it to this part instead and it works:

     <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" maxInvalidPasswordAttempts="10"/>
    
Please Sign in or register to post replies

Write your reply to:

Draft