Bug #2264
openNew user password change doesn't actually require a password change.
0%
Description
When creating a new user, if you select "password change" checkbox to force a password change on the first login, the user will be prompted appropriately, but he doesn't actually have to supply a different password. It can be the exact same password he first logged on with.
In fact, if you go to @_admin/my_account/password@ after logging in, and execute a change of password, you can put the same password in all three fields, and it will be successful. Its as though we're not doing any checking at all.
Some thoughts I have:
If we're going to include a "force change" for new users, it should actually force a change, and not allow me to simply use the same password over again.
For password changes on a logged in user:
a. If we don't care that it's the same password, then we should simply offer a field for the new password, because the old one doesn't really matter.
b. If we DO care that it's the same, then we should be checking, just like on new user logins.
What do you guys think?
Updated by Johannes Bornhold about 9 years ago
I would narrow down the scope of this problem to only address the "force password change" part.
Updated by Marcin Kuzminski [CTO] over 8 years ago
- Private changed from No to Yes
Updated by Marcin Kuzminski [CTO] over 8 years ago
- Target version changed from v4.3 to v4.4
Updated by Marcin Kuzminski [CTO] over 8 years ago
- Private changed from Yes to No
Updated by Daniel D over 8 years ago
Should never allow password changes without entering a current password for the case when a bad party finds a logged in user and can change the password. In fact this should also probably be done to email as well since it can be used to reset the password via 'forgot password' functionality.
Updated by Redmine Integration over 8 years ago
pullrequest created, https://internal-code.rhodecode.com/rhodecode-enterprise-ce/pull-request/2532, (status: under_review)
Updated by Redmine Integration over 8 years ago
- Status changed from In Progress to Resolved
Updated by Redmine Integration over 8 years ago
pullrequest merged, https://internal-code.rhodecode.com/rhodecode-enterprise-ce/pull-request/2532, (status: approved)