Skip to main content
Version: Early Access

Account Lockout

The Account Lockout feature provides security controls to automatically lock user accounts after multiple failed login attempts. This feature helps protect against brute-force attacks and unauthorized access attempts.

Account Lockout is a security mechanism that:

  • Tracks failed login attempts
  • Automatically locks accounts after exceeding configured thresholds
  • Temporarily prevents access to locked accounts
  • Helps protect against brute-force password attacks
note

Account lockout applies to internal users only. External users (LDAP/SSO) are managed by their respective authentication systems.

For external user management, see Authentication Options.

note

The Locked column appears on the Users management page only if Account Lockout is enabled in the configuration.

Configuration

Account Lockout is configured via the xl-release.conf file and requires a server restart to take effect.

Add the following configuration block to your xl-release.conf file:


xl {
security {
account-lockout {
enabled = true
max-login-failed-attempts = 5
lockout-duration = "15 minutes"
whitelist-username = ["admin"]
}
}
}

Configuration Parameters

ParameterTypeDefaultDescription
enabledBooleanfalseEnables or disables account lockout. When false, failed login attempts are not tracked and accounts are never locked.
max-login-failed-attemptsInteger5Number of consecutive failed login attempts allowed before the user account is locked. The counter resets after a successful login.
lockout-durationDuration15 minutesDuration for which a user account remains locked after exceeding the allowed number of failed login attempts.
whitelist-usernameArray[]List of usernames that are excluded from account lockout and cannot be locked regardless of failed login attempts. Typically used for administrator accounts or automated service users.

Disable Account Lockout:

xl {
security {
account-lockout {
enabled = false
}
}
}

Whitelist Multiple Users:

xl {
security {
account-lockout {
enabled = true
max-login-failed-attempts = 5
lockout-duration = "15 minutes"
whitelist-username = ["admin", "service-account", "backup-user"]
}
}
}
important
  • Configuration changes require a server restart to take effect
  • The Account Lockout settings are not available in the System Settings UI
  • This is a config-file-only feature

Login Failure When Locked

When a user exceeds the maximum failed login attempts, they will see an error message indicating their account has been locked.

Account locked error message

Manage Locked Users

Navigate to Settings > Users and permissions to view user account status. The Users management page helps administrators quickly identify locked accounts:

  • Locked column – Shows whether an account is locked (visible only when Account Lockout is enabled).
  • Sorting by Locked column – Places locked accounts at the top of the list.

For more information about the Users page, see User settings.

Unlock a User Account

Administrators can manually unlock user accounts before the configured lockout-duration expires. If no action is taken, locked accounts automatically unlock after the lockout-duration expires.

To unlock a user account:

  1. Navigate to Settings > Users and permissions
  2. In the Actions column for the locked user, click on More Options and select Edit

Edit user

  1. A banner will display indicating the account is locked with an Unlock user button
  2. Click Unlock user to immediately restore access

Edit user screen showing unlock banner

Troubleshooting

Account Locked Unexpectedly

If a user account is locked unexpectedly:

  1. Verify the user is using correct credentials
  2. Review if thresholds are too strict
  3. Manually unlock the account via Settings > Users and permissions > Edit User
  4. Or wait for lockout-duration to expire for automatic unlock

Configuration Not Taking Effect

If configuration changes don't work:

  1. Verify configuration syntax in xl-release.conf
  2. Restart the Release server (required)
  3. Check server logs for configuration errors
  4. Verify file permissions