<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Change system defaults for locking out users</title><link>https://community.telligent.com/community/11/w/user-documentation/71797/change-system-defaults-for-locking-out-users</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>Change system defaults for locking out users</title><link>https://community.telligent.com/community/11/w/user-documentation/71797/change-system-defaults-for-locking-out-users</link><pubDate>Fri, 25 Jun 2021 19:00:44 GMT</pubDate><guid isPermaLink="false">7eebab44-306c-4149-bb72-293df109b1ab</guid><dc:creator>Tom Paolucci</dc:creator><comments>https://community.telligent.com/community/11/w/user-documentation/71797/change-system-defaults-for-locking-out-users#comments</comments><description>Current Revision posted to User Documentation by Tom Paolucci on 06/25/2021 19:00:44&lt;br /&gt;
&lt;p&gt;[toc]&lt;/p&gt;
&lt;p&gt;By default, Telligent Community Server locks a user out of the site after five incorrect attempts or failed attempts within a specific time interval. However, there are three values you can change in the web.config or communityserver.config file to affect these defaults:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Number of bad attempts (for example, default five failed attempts)&lt;/li&gt;
&lt;li&gt;Period during which bad attempts are counted (for example, default failed attempt period of five minutes)&lt;/li&gt;
&lt;li&gt;Amount of time the account is locked out (for example, default lockout of five minutes)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="change_number_of_attempts"&gt;&lt;a name="Change_number_of_attempts"&gt;&lt;/a&gt;Change number of attempts that triggers lockout&lt;/h4&gt;
&lt;p&gt;To change the number of login attempts that will trigger an account lockout:&lt;/p&gt;
&lt;p&gt;Search for the following entry in the web.config file:&lt;/p&gt;
&lt;p&gt;maxInvalidPasswordAttempts=&amp;quot;5&amp;quot;&lt;/p&gt;
&lt;p&gt;and replace &amp;quot;5&amp;quot; with the desired number of failed attempts you want to allow, for example 3 attempts:&lt;/p&gt;
&lt;p&gt;maxInvalidPasswordAttempts=&amp;quot;3&amp;quot;&lt;/p&gt;
&lt;p&gt;Save the file.&lt;/p&gt;
&lt;h4 id="change_attempt_counting_period"&gt;&lt;a name="Change_attempt_counting_period"&gt;&lt;/a&gt;Change failed attempt period that triggers the lockout&lt;/h4&gt;
&lt;p&gt;The default period for counting failed attempts is five minutes. To change the attempt count period:&lt;/p&gt;
&lt;p&gt;Search for the following entry in the&lt;span style="font-family:courier new,courier;"&gt; web.config&lt;/span&gt; file:&lt;/p&gt;
&lt;p&gt;passwordAttemptWindow=&amp;quot;5&amp;quot;&lt;/p&gt;
&lt;p&gt;and replace &amp;quot;5&amp;quot; with the desired number of minutes you want the failure cycle to contain. For example, shortening the period will allow the incorrect attempts to reset more quickly, for example 3 minutes:&lt;/p&gt;
&lt;p&gt;passwordAttemptWindow=&amp;quot;3&amp;quot;&lt;/p&gt;
&lt;p&gt;Save the file.&lt;/p&gt;
&lt;h4 id="change_lockout_period"&gt;&lt;a name="Change_lockout_period"&gt;&lt;/a&gt;Change how long the lockout lasts&lt;/h4&gt;
&lt;p&gt;Once the maximum number of attempts has occurred or the attempt counting period is used up, the system will lock out the user account. To change this lock period:&lt;/p&gt;
&lt;p&gt;Search for the following entry in the &lt;span style="font-family:courier new,courier;"&gt;communityserver.config&lt;/span&gt; file:&lt;/p&gt;
&lt;p&gt;unlockUserAfterMinutes=&amp;quot;5&amp;quot;&lt;/p&gt;
&lt;p&gt;and replace &amp;quot;5&amp;quot; with the desired number of minutes you want the user to wait before his/her password will be reset, for example 3 minutes after the lockout is initiated:&lt;/p&gt;
&lt;p&gt;unlockUserAfterMinutes=&amp;quot;3&amp;quot;&lt;/p&gt;
&lt;p class="tdocs-note"&gt;&amp;nbsp;Use&amp;nbsp;-1&amp;nbsp;to&amp;nbsp;never&amp;nbsp;automatically&amp;nbsp;unlock&amp;nbsp;an&amp;nbsp;account.&lt;/p&gt;
&lt;p id="unlock_a_users_account"&gt;Save the file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>