Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password complexity check should be skipped on external auth sources #8821

Closed
silverwind opened this issue Nov 4, 2019 · 1 comment · Fixed by #8826
Closed

Password complexity check should be skipped on external auth sources #8821

silverwind opened this issue Nov 4, 2019 · 1 comment · Fixed by #8826
Assignees
Labels
Milestone

Comments

@silverwind
Copy link
Member

silverwind commented Nov 4, 2019

  • Gitea version (or commit ref): ee52498

Description

When adding a new user using a external auth source like LDAP, the option PASSWORD_COMPLEXITY is validated which prevents a admin from creating a new user with below error message while there is no actual password field visible in the UI. This check should be skipped for cases where gitea does not actually store a password.

Screenshots

Screen Shot 2019-11-04 at 10 44 10

@lunny lunny added the type/bug label Nov 4, 2019
@guillep2k
Copy link
Member

Looks like the root cause for #8558

@lafriks lafriks added this to the 1.10.0 milestone Nov 4, 2019
@lafriks lafriks self-assigned this Nov 4, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants