When a node with a password is deleted it would seem logical to remove the node's password from any users that have it, as this password now doesn't relate to anything.

But in nodeaccess_password_nodeapi in the delete op, this module only deletes from the nodeaccess_password table and not the nodeaccess_password_users table.

I am attaching a small patch for removing passwords from the nodeaccess_password_users table.

I hope I have created it correctly, let me know if not.

CommentFileSizeAuthor
remove_password_from_users.patch877 bytesgrahamu

Comments

danielb’s picture

Status: Active » Fixed

I've added your patch to 6.x-3.x, and ported similar code to 7.x-4.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.