Add a <previous> option to the 'Redirect path on Registration' setting
mikejoconnor - December 22, 2007 - 18:35
| Project: | LoginToboggan |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
This patch adds two additional features to the LoginToboggan module
1. It allows you to hide the username field on the registration page, and automatically populate it with the users email address.
2. You can enter <previous> in the Redirect path on Registration: field, and it will send you to the referring page once the registration process is complete.
I'm happy to make any improvements necessary to have this incorporated into the LoginToboggan module. I look forward to hearing your suggestions.
Mike O.
| Attachment | Size |
|---|---|
| logintoboggan.patch | 4.94 KB |

#1
this patch doesn't sufficiently address the implementation issues at hand:
#2
Thanks for the feedback, I'll work on addressing those issues.
#3
I'm very interested in this feature, especially on using only the e-mail address when registering or login. First I want to make some notes on hunmonk comments:
True. I think the first feature is the most important so I change the title of the issue to reflect this.
Points: 1, 2, 3, 4, 5 from http://drupal.org/node/203275#comment-668450 are not critical. They can be solved. No other comments on this stage...
My proposal is to add a new radio button to
login_with_mailelement as in the attached imageI think that this is the biggest challenge of this feature! In which cases would site administrator using only e-mail (and not username)? I think that in most cases when there is a mandatory Full name or First name and Last name in the user profile. In this case they can display the full name and hide the e-mail address. This can be achieved through theming. In this case the hunmonk concern has a solution. But applying this patch to the module will let uncover those sites where there are no other profile fields alternatives to username. And this is a real security issue...
We have some options here:
joe@example.com(as e-mail) will becamejoe(as username). Of course we must treat the eventuality of duplicate names. Hmmm... Number suffix? Or user interaction?joe-at-example.com,joe_example.com,joe-example.com. Anyway... It's not very hard for an e-mail harvester to exploit this workaround.I think that the discussion must go on... It's a useful feature. Why using 2 unique IDs (e-mail & username)?
#4
Maybe http://drupal.org/project/email_registration can be useful
#5
i will consider the inclusion of a <previous> setting in the 'Redirect path on Registration' for 7.x, but i will not consider any modification that deals with e-mail only registration -- it's a rats nest i have no interest in pursuing. look to another module, or lobby to get that feature in a future version of core... ;)
changing the title to reflect the new focus.