Set password rules, password expiration, and password login security policies for all users, and manage locked users.

Set the minimum length requirement for passwords, with a maximum length of 64.
The following options are supported:

Set whether the password can contain the current user's username.
Remember the number of recently used passwords by the user. Users cannot reuse these passwords when changing their password. 0 means no restriction, with a maximum count of 24.

The validity period of the user's password. Users must change their password before it expires to reset the validity period. If the password is not changed before expiration, the user will be unable to log in with the old password and will require an administrator to reset it. If other login methods are configured, the user can still log in using those methods.
Within 10 days of the user's password expiration, a reminder is sent each time the user logs in. By default, the reminder is sent via the "Password Expiration Reminder" internal message channel, which can be managed in the notification management section.
Since password expiration may result in the inability to log in, including for administrator accounts, it is recommended to change passwords promptly and set up multiple accounts in the system that have the authority to modify user passwords.
Set limits on invalid password login attempts.

Set the maximum number of login attempts a user can make within a specified time interval.
Set the time interval (in seconds) for calculating the maximum number of invalid login attempts by a user.
Set the duration for which a user is locked out after exceeding the invalid password login limit (0 means no restriction). During the lockout period, the user is prohibited from accessing the system through any authentication method, including API keys. If manual unlocking is required, refer to User Lockout.
No restrictions on the number of invalid password attempts by users.

Example: A user can attempt to log in up to 5 times every 5 minutes.

Example: If a user makes 5 consecutive invalid password login attempts within 5 minutes, the user is locked out for 2 hours.
