Skip to content

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

Closed
@silverwind

Description

@silverwind
  • 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions