Hello,

I tried many different settings but can't seem to get this to work - and would like to confirm if this feature exists at the moment.
I apologize if it does, and will do a clean install of Drupal.

I would like guest user to:
1) register and choose password
2) confirmation email for registration sent to new user's registered email
3) new user clicks link in confirmation email to login

Thank you very much in advance!

Comments

hunmonk’s picture

Status: Active » Fixed

yes, it exists. please re-read all the documentation that comes with the module, it should be pretty easy to figure things out.

Bilmar’s picture

Status: Fixed » Active

I have read through the documents that comes with the module but still unable to figure this out.

When 'Set Password' is disabled so that email verification is required - the guest user cannot choose their own password during registration process. When 'Set Password' is enabled - the guest user is automatically logged in.

I would like guest user to:
1) type in email address and own password at registration
2) go to their personal email and click confirmation link => allows them to log-in

I am also using AutoRoleAssign to allow user to choose from two roles - 1) employee 2) employer

I would appreciate any help.

hunmonk’s picture

Status: Active » Fixed

have you looked at all the settings on the LT settings page? because if you did, i'd be surprised that you missed the 'Immediate login' checkbox...

Bilmar’s picture

Status: Fixed » Active

I have seen the 'Immediate Login' checkbox in the settings.

I apologize if I am not clear. I do not want immediate login.
I want the guest to remain a guest user (not logged in) until guest clicks the confirmation link sent by email to their personal email.

As of now - guest is automatically logged in after registered (not confirming registration yet) and is given a UID.
I do not want the guest to have a UID until he/she completes the confirmation process.

Is this possible?

Thank you for taking the time to return to this thread many times.

hunmonk’s picture

Status: Active » Fixed

if you leave 'Set password' checked, and 'Immediate login' unchecked, then the user will be able to create their account with a password, but should not be logged in after registering. the validation link *should* log them in as a fully authenticated user once they click it.

the only thing that's different from your workflow is that anybody registering has to get an actual drupal user account (it would be quite messy to vary from core's workflow in that sense) -- what LT does is provide the option to use a reduced permissions account between registration and validation, and provide the option to either log the user in to that account or not upon registration.

i believe i've answered this question thoroughly enough. if you have any more needs, please use the drupal.org support forums, or consider hiring a drupal consultant.

thanks!

Status: Fixed » Closed (fixed)

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

rezvani63’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Needs review
Issue tags: +register, +password, +login, +verify email, +choose password

Using LoginToboggan we cannot have both features of:
1. allowing users to choose their password while registering.
2. Necessary email verification,
except we define a new role with permissions more than anonymous user and less than authenticated user, so users will be assigned to new role until they verified their email address. Then users' role will change to Authenticated once they verified their email address.
I think this is the only way to have both features.
Correct me if I'm wrong or there is another solution.
I'm using version 6.x-1.7

hunmonk’s picture

Status: Needs review » Fixed

you can give your pre-auth role the exact same user permissions as the anonymous role if you want.

rezvani63’s picture

Status: Fixed » Needs work

Oh, thanks hunmonk,
that's a solution, but still many of my users complain about this. Actually why "set password" option should be mirror of email verification and what's the technical coding issue? Hopefully this can be solved with the simplest solution.
Thanks in advance

hunmonk’s picture

Status: Needs work » Closed (won't fix)

@rezvani63: i will not make any adjustments to the module in this regard. put simply, it's insecure to both allow a user to set their own password and not require them to do some kind of reasonable verification -- it's one of the founding principles of the module. otherwise, the site is wide open to spambots.

if you want the solution you desire, you'll need to code your own module. :)

2c’s picture

The logintoboggan module doesn't allow to have BOTH 'require email validation' and 'set password' options.

To solve this, you can check the allow users to choose password option and then go to the 'variable' table and change the 'user_email_verification' value to 1.

hunmonk’s picture

@2c: i would not advise you to use this approach, as it is severely flawed. the choose password options operates directly on the user_email_verification variable -- hacking it in the database will have very unpredictable effects.

kiwad’s picture

You could set a pre-authorized role and use the module Rules to automatically "Path redirect" to "Logout" any user with that role

doublejosh’s picture

Pretty related question, though I imagine this is considered an annoying thread :)

Would it be possible for 'immediate login' NOT to depend on 'set password' ?
Meaning a user could:

  1. Create their account with just an email address.
  2. Their temp password, etc. is mailed to them.
  3. AND they are immediately logged in to the "Non-authenticated role."

This would be my ideal workflow.

Least resistance, immediate participation and still a need to eventually confirm their email.

Best of all worlds.

It seems possible by setting 'set password', then removing those fields with a form_alter or as suggested here as a module feature: http://drupal.org/node/779240

manimaran.purusothaman’s picture

Project: LoginToboggan » User registration password
Version: 6.x-1.x-dev » 7.x-1.0
Assigned: Unassigned » manimaran.purusothaman

Please go through user registration password module.After enabled this module you can get the three options in the admin->configuration->account settings page.This may be useful for you.

doublejosh’s picture

I was asking about a fourth option (similar to option 3) whereby they would be logged in, require an email verification, NOT have to set their password which would be set for them randomly. Could do this fairly simply with a small form alter.

Perhaps just enabling the Generate Password module may do it, but I'm guessing they don't play nice.

doublejosh’s picture

Just created this as a sub-module on Logintoboggan (D6) #779240: Allow "Immediate Login" without setting Password by User

manimaran.purusothaman’s picture

Check this url(http://drupal.org/project/user_registrationpassword).
This may be useful for you.

doublejosh’s picture

My module (Registration Toboggan) removes setting a password, allows immediate login to the pre-authorized role, then the user can verify via email. Think I'll cross link to that module on my project page as well though.

manimaran.purusothaman’s picture

Check this url(http://drupal.org/project/user_registrationpassword).
This may be useful for you.