Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal 6 how to prevent automatic password recovery and reset for a specific user

I have an client website with a special user name 'guest' that allows unauthorized users to login and register for events. But lately the password has been getting changed and it appears that it is being done at the login by requesting a password recovery/reset. That reset is done automatically and although it emails the temporary password to the ~manager~ of the guest account, it requires repeated resetting of the password back to its original and known value.

So, is is possible to prevent a password recovery/reset only when the user name is 'guest', specifically? Thus not affecting other authorized users from getting a reset when they have forgotten their password?

FYI: the last post I saw on this on drupal was 2005 ... nothing since, and it was a node/16909. In that post a patch was offered, but it was applicable to Drupal version 5, and one of the comments was by Dries where he said that patch would not be folded into a release until a better solution was found. I'm on Drupal 6.

Any solutions???

carl

like image 718
cfusch Avatar asked Feb 21 '12 20:02

cfusch


1 Answers

Why not just do away with the guest account and use the systems built in anonymous user? Fighting Drupal always ends in tears.

like image 138
Tyler Eaves Avatar answered Oct 02 '22 16:10

Tyler Eaves