Closed (won't fix)
Project:
User registration password
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
20 Sep 2009 at 14:52 UTC
Updated:
17 Oct 2012 at 13:19 UTC
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
Comment #1
hunmonk commentedyes, it exists. please re-read all the documentation that comes with the module, it should be pretty easy to figure things out.
Comment #2
Bilmar commentedI 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.
Comment #3
hunmonk commentedhave 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...
Comment #4
Bilmar commentedI 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.
Comment #5
hunmonk commentedif 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!
Comment #7
rezvani63 commentedUsing 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
Comment #8
hunmonk commentedyou can give your pre-auth role the exact same user permissions as the anonymous role if you want.
Comment #9
rezvani63 commentedOh, 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
Comment #10
hunmonk commented@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. :)
Comment #11
2c commentedThe 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.
Comment #12
hunmonk commented@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.
Comment #13
kiwad commentedYou could set a pre-authorized role and use the module Rules to automatically "Path redirect" to "Logout" any user with that role
Comment #14
doublejosh commentedPretty 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:
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
Comment #15
manimaran.purusothaman commentedPlease 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.
Comment #16
doublejosh commentedI 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.
Comment #17
doublejosh commentedJust created this as a sub-module on Logintoboggan (D6) #779240: Allow "Immediate Login" without setting Password by User
Comment #18
manimaran.purusothaman commentedCheck this url(http://drupal.org/project/user_registrationpassword).
This may be useful for you.
Comment #19
doublejosh commentedMy 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.
Comment #20
manimaran.purusothaman commentedCheck this url(http://drupal.org/project/user_registrationpassword).
This may be useful for you.