Skip to content

Comments

Fix Issue 56 -Allow force expiration to save timestamps without password hash#60

Open
wopsononock wants to merge 4 commits intostable-3_4from
3_4-update
Open

Fix Issue 56 -Allow force expiration to save timestamps without password hash#60
wopsononock wants to merge 4 commits intostable-3_4from
3_4-update

Conversation

@wopsononock
Copy link
Contributor

If the administrator is not limiting password reuse, we don't save the current password hash to the stored_passwords table. If they are forcing expiration, we still need to save a password set timestamp for the username in question. Change the plugin to make a rule allowing null values on the password field when the plugin is installed or updated. When checking for reuse, make sure we can handle existing records with null password fields.

… and date only. Handle resulting null password fields when getting stored_passwords data.
@wopsononock
Copy link
Contributor Author

Unintended amount of commits in here. Will rework.

@wopsononock wopsononock changed the base branch from stable_3_4 to master February 13, 2026 20:21
@wopsononock wopsononock changed the base branch from master to stable-3_4 February 19, 2026 19:36
… while making sure existing stored_passwords tables have a nullable password field. Also bump the version
Copy link

@bdgregg bdgregg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your changes seem to be pretty straight forward. Looks ok to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants