> For the complete documentation index, see [llms.txt](https://docs.senpiper.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.senpiper.com/general-system-settings/authentication-settings/password-settings.md).

# Password settings

### 1. Default password settings for the users

This setting helps system admins enable or disable 2-factor authentication for the users while logging into the system.

<figure><img src="/files/PSsPkgHEZxxhqy950hOq" alt=""><figcaption><p><em>2-factor authentication</em></p></figcaption></figure>

### 2. Account Lockout Policy

*Account lockout policy is* used by system admins to lock out an account when someone tries to log on unsuccessfully several times in a row. The user's account will be locked after the **mentioned number of wrong attempts.** System admin can unblock users from [<mark style="color:purple;">**manage user**</mark>](/user-management/managing-users.md)<mark style="color:purple;">**.**</mark>

<figure><img src="/files/fef05Jwxvqjop8cOJzej" alt=""><figcaption><p><em>Account lockout policy</em></p></figcaption></figure>

### 3. Validate a Password

System Admin can set a default or a custom password validation for its user's accounts.&#x20;

<figure><img src="/files/E3cSe7g87aNM0c90pFHL" alt=""><figcaption><p><em>Dafault Password Regex</em></p></figcaption></figure>

<figure><img src="/files/VcGF9MgHytsC5vPIXtnN" alt=""><figcaption><p><em>Custom Password regex</em></p></figcaption></figure>

### 4. Password Expiry Time

As a System Admin, you can make user passwords expire after a certain number of days, or set passwords to never expire. By default, passwords are set to never expire for your organization.

<figure><img src="/files/qEbsylsaM8WJJVAGjyax" alt=""><figcaption><p><em>Password expiry</em></p></figcaption></figure>

### 5.  Reset the Password

The System admin can enable users to reset their password if all login attempts are exhausted.

<figure><img src="/files/FWJFLb079YAqUVOMKs3Z" alt=""><figcaption><p><em>Reset password</em></p></figcaption></figure>
