-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
A Logic Error When the Administritor Create New Users #17977
Comments
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Dec 16, 2021
It appears that there are several places that password length, complexity and ispwned are not currently been checked when changing passwords. This PR adds these. Fix go-gitea#17977 Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Dec 17, 2021
…ing (go-gitea#18005) Backport go-gitea#18005 It appears that there are several places that password length, complexity and ispwned are not currently been checked when changing passwords. This PR adds these. Fix go-gitea#17977 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
…ing (go-gitea#18005) It appears that there are several places that password length, complexity and ispwned are not currently been checked when changing passwords. This PR adds these. Fix go-gitea#17977 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Gitea Version
1.15.6
Git Version
2.23.0
Operating System
windows server
How are you running Gitea?
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Hi,

There is a logic error when the administritor create new users.
If the the administritor force the new user to change initial password before their first sign in, the new user could set a weak password, such as "11111111" in the popup window. However, I have setted the PASSWORD_COMPLEXITY value in app.ini file as "lower,upper,digit,spec", and it works when the administritor create the new user's default password, also when users change their password after login.
Here is a screeshot of the popup window, it might miss a complexity test of the new password : )
)
Screenshots
No response
The text was updated successfully, but these errors were encountered: