Custom password length limits
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed, GitLab Dedicated
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
The user password length is set to a minimum of 8 characters by default.
To change the minimum password length using GitLab UI:
- On the left sidebar, at the bottom, select Admin.
- Select Settings > General.
- Expand Sign-up restrictions.
- Enter a Minimum password length value greater than or equal to
8
. - Select Save changes.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support