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" DO NOT work with update password when first login #18036

Closed
FourLeafTec opened this issue Dec 20, 2021 · 2 comments · Fixed by #18005
Closed

"PASSWORD_COMPLEXITY" DO NOT work with update password when first login #18036

FourLeafTec opened this issue Dec 20, 2021 · 2 comments · Fixed by #18005
Labels
issue/duplicate The issue has already been reported.

Comments

@FourLeafTec
Copy link

Gitea Version

1.15.7

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

I set PASSWORD_COMPLEXITY = lower,upper,digit,spec.
Then I use admin to create account. Check "Require user to change password (recommended)".
The new user can set his password to "123456" when first login.

Screenshots

No response

@jolheiser
Copy link
Member

Did you restart gitea after making the config change?

@zeripath
Copy link
Contributor

Duplicate of #17977

Already fixed by #18005 and its backport #18015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants