I'm requiring admin approval after a user registers.

I installed the user_status module and it mails the 1st message saying their approval is pending. It then emails me (the admin email address) informing me that user "x" has signed up and lists a link that leads me to xxxxx/q=user/xx/edit where I can check the "activate box".

So far so good.

I check "activate" click the "submit" button and an email gets sent off to the user. The email the user receives contains a link that when checked, sends him to the site with this at the top:

You have tried to use a one-time login link which has either been used or is no longer valid. Please request a new one using the form below.

They have to fill in 1 of 2 fields (username and email address) to get sent a new password.

What am I doing wrong?

Thanks

Comments

gordon_holtslander-1’s picture

I have the same problem. In addition to this if I leave the standard email message for a user requested account - it generates the same message.

I'm left with a system where if a user requests an account - they must request a new password before they are able to logon. Very confusing and inconvenient.

I've had to create a different activation message that user status sends on account vaildation. I have it pass %username and %password in the email message. The new user must copy and paste these from the message they recieve via user status valication.

The readme on the module I'm using says:
$Id: README.txt,v 1.3.4.4 2007/01/13 02:30:14 dww

csc4’s picture

Same problem here with a new 4.7.6 installation - getting the variables they are:

account->uid:18 
timestamp:1175250652 
account->login:0 
hashed_pass:ecc5f99d4cc116f9e3c146717ac68817 user_pass_rehash:d0c20e11380cd38d93b37d8185d8fbad

Which doesn't look like it could ever match!! Anyone got any idea how this broke and, more importantly, how we get it fixed??

csc4’s picture

I've opened an issue on the user_status project http://drupal.org/node/132466 - if anyone has any more information can they add it there?