Hi All! I was wondering if it is possible to avoid creation of new user (assigning ID) in Drupal before email of given "applicant" is authenticated?

So process would be:
#0 apply for account with email
#1 email sent by Drupal
#2 user gets a link
#3 when link is requested Drupal forwards request to a full user registration form with assigned User ID

Thanks for any guidance!

Comments

alan d.’s picture

See the admin > users > user settings page:

[]Require e-mail verification when a visitor creates an account
If this box is checked, new users will be required to validate their e-mail address prior to logging into the site, and will be assigned a system-generated password. With it unchecked, users will be logged in immediately upon registering, and may select their own passwords during registration.

Otherwise it is a custom programming task...


Alan Davison
zblace’s picture

tnx - well aware of that setting...
...but somehow I thought there would be a module that would handle registration process in more controlled way, to avoid assigning UID before email account is confirmed.

alan d.’s picture

If unverified users are an issue, a simple cron process could be set up to delete users that haven't verified their accounts after a week or two, and I think that there are modules out there that could do this 1 linear function, although I can't remember their names off hand.

eg delete from users where uid > 1 and access = 0 and login = 0 and created < (now() - 2 weeks)


Alan Davison
michaels-musings.com’s picture

+1 for moving this to core.

It is an annoyance as it currently works.

zblace’s picture

Is there a page describing such procedure? I would not mind pushing it if someone informs me of the way to do it :-)