User login

Provide resend password option on duplicate email login error

[Update: Newer versions of the attached below are available. Ask.]

The request came in this form, from my co-Collective member Dan, responding to a call from the executive director of Amazing Things Arts Center:

he said some people forgot what their username was on the site, and now when they're trying to make new accounts it says "email already registered' blah blah blah...

he wants it so that they can override that with a 'override button which i guess, would have to send an email to that addy with a verify link, you get the idea...

is it possible?

easy for me to do it?

what should I do?

and how do I check the damn messages?

what's the capital city of peru?

and the square root of 64?

If login gives "e-mail address already registered" error offer

Drupal login intelligent login block
Password reminder option on registration

drupal email address already registered
send e-mail if already registered Drupal
if email already registered, offer to send email Drupal

"The e-mail address is already taken."
"The e-mail address" "is already taken" Drupal option to resendbbbbbbb x

Report back here:
Allowing Multiple Accounts from the Same E-Mail Address?

Maybe combine them into a contrib module.

Rather than programmatically trying to submit user_pass programmatically (the Drupal 4.7 user_pass function is here for reference)

function user_pass() {

  // Display form:
  $form['name'] = array('#type' => 'textfield',
    '#title' => t('Username'),
    '#size' => 30,
    '#maxlength' => 60,
  $form['mail'] = array('#type' => 'textfield',
    '#title' => t('E-mail address'),
    '#size' => 30,
    '#maxlength' => 64,
  $form['submit'] = array('#type' => 'submit',
    '#value' => t('E-mail new password'),
    '#weight' => 2,
  return drupal_get_form('user_pass', $form);

it makes more sense to use my user/password/ addition!

All I need to do is make a link, set it through Drupal set message, make it as big and prominent as possible:

"If you have participated in the auction before, but do not remember your login information, CLICK HERE to have a new password sent to you."

(So I'm saying the module should make this text configurable. Default would be more like "If you have used this site before but do not remember your login information, click here to have a new password sent to you.")


And so it was done, as an extension to the reinvite module.



i am trin to get my pass word resend to my e mail

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.