-
Notifications
You must be signed in to change notification settings - Fork 6
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
Previous passwords are remembered after user is deleted #28
Comments
I noticed this because I saw that:
was growing with a list of password hashes for users that I had deleted. When a user is deleted, should password_policy be listening to a hook from that, and delete the password history also? If so, then what should happen when password_policy is disabled. Users will be deleted but their password history left behind in |
hmmm... does an admin ever reuse user names when dealing with different people ? In any case, it sounds reasonable to clear the history as we also delete many other things when a user is deleted. Technically we should listen to the "user delete" hook to trigger this action. Hmmm, seems we're missing a symfony event for user deletion ? https://github.com/owncloud/core/blob/v10.0.9RC3/lib/private/User/User.php#L211 @sharidas |
I think this is low priority. It will not hurt anybody who happens to re-use a I raised the issue more because it is nice to keep databases tidy and not have old "unlinked" data hanging around. |
@PVince81 The symfony event we have is here -> https://github.com/owncloud/core/blob/master/lib/private/Server.php#L340-L346 |
similar to #53 I think both together should be around 0.5md |
put it together in a single ticket #69 |
Steps to reproduce:
with password
Test1111##``, change your password to
Test1234##`` and logout.test1
with password
Test1111##`` or ``Test1234##``The admin is told that the password must be different to the last 3 passwords.
The text was updated successfully, but these errors were encountered: