> ## Documentation Index
> Fetch the complete documentation index at: https://support.locker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure a login policy

> Learn how to set up a login policy to strengthen security for your Locker for Business workspace.

A login policy helps control and enhance the security of the login process for members in the workspace.

## Set up a login policy

<Steps>
  <Step title="Open the Enterprise Dashboard">
    Log in to Locker as an Owner or Admin and switch to the **Enterprise Dashboard**.
  </Step>

  <Step title="Go to Policies">
    Select **Policy** in the navigation bar.
  </Step>

  <Step title="Configure the login policy">
    In the **Login Policy** section, configure the following settings:

    * **Require 2FA:** Require all members to enable two-factor authentication.
    * **Maximum failed login attempts:** Limit the number of consecutive failed login attempts before the account is temporarily locked.
    * **Lockout duration:** The length of time the account is locked after exceeding the failed login limit.
  </Step>

  <Step title="Save">
    Click **Save** to apply.
  </Step>
</Steps>

## Impact

* **Require 2FA:** Members who have not enabled 2FA will be prompted to set it up upon their next login.
* **Account lockout:** Accounts are temporarily locked after exceeding the allowed number of failed login attempts. The account will automatically unlock after the configured duration.

<Warning>
  Consider carefully before setting the maximum failed login attempts too low, as this may cause inconvenience for members.
</Warning>
