debian-mirror-gitlab/doc/security/password_length_limits.md
2023-01-12 18:35:48 +00:00

1.9 KiB

stage group info type
Manage Authentication and Authorization To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments reference, howto

Custom password length limits (FREE SELF)

By default, GitLab supports passwords with the following lengths:

  • Minimum: 8 characters
  • Maximum: 128 characters

You can only change the minimum password length. Changing the minimum length does not affect existing user passwords. Existing users are not asked to reset their password to adhere to the new limits. The new limit restriction applies only during new user sign-ups and when an existing user performs a password reset.

Modify minimum password length

Introduced in GitLab 12.6

The user password length is set to a minimum of 8 characters by default.

To change the minimum password length using GitLab UI:

  1. On the top bar, select Main menu > Admin.
  2. On the left sidebar, select Settings > General and expand Sign-up restrictions.
  3. Enter a Minimum password length value greater than or equal to 8.
  4. Select Save changes.