Closed (duplicate)
Project:
Password reset
Version:
6.x-1.1-beta2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 14:47 UTC
Updated:
12 Apr 2009 at 19:53 UTC
The project page of this module says:
"This module would typically be used on sites that do not require users to enter their e-mail addresses"
How would you achieve this? Drupal requires a unique email address at registration, and if you somehow do manage to create and account without an email address, Drupal throws errors whenever it tries to return or use a user's email, because core and all third party modules simply assume users have an email address in their profile.
I take it that this module only handles the password resetting, without doing anything about the requirement of an email address during registration?
Thanks.
Comments
Comment #1
Zen commentedhttp://drupal.org/node/191386
Comment #2
-Anti- commentedThanks for your reply.
The question is answered... the module itself doesn't do anything about the email requirement.
From the duplicate post....
> Step one is obviously to remove the e-mail form field from
> all appropriate locations using a form_alter.
> Step two is to process the user_validate_mail calls from the user
> edit form's validate function only if the e-mail field is set (which won't be as per step one).
lol... to someone who doesn't know php, this answer is analogous to the time I asked a painter how to paint a tree, and the painter replied 'well, you just put paint on your brush and paint one'. :)