Page MenuHomePhabricator

Confirm email feature sends two emails for first confirmation request
Closed, ResolvedPublic

Description

Author: emddudley

Description:
When a new user creates an account and clicks on the "Confirm your e-mail
address" link to Special:Confirmemail for the first time, an email is sent
immediately. Subsequent visits to Special:Confirmemail do not automatically send
emails; emails are then only sent when the user presses the "Mail a confirmation
code" button.

There is no message presented to the user stating that an email was sent that
first time. Instead, the message "This wiki requires that you validate..." is
presented and there is a button to "Mail a confirmation code". Clicking on the
button results in a second email being sent. It appears to the user that they
received two emails even though they only requested one confirmation.

The user should be presented with a message the very first time they visit
Special:Confirmemail stating that an email was automatically sent, OR an email
should not be sent automatically the first time they visit Special:Confirmemail.


Version: unspecified
Severity: normal

Details

Reference
bz5821

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:13 PM
bzimport set Reference to bz5821.
bzimport added a subscriber: Unknown Object (MLST).

A mail is not sent on visit to Special:Confirmemail unless you click the
button.

However, IIRC a mail *is* sent when you register the account or change the
set address.

emddudley wrote:

Steps to reproduce:

  1. Create new account, with E-mail field filled in.
  2. Click Preferences. Click "Confirm your e-mail address" link.

E-mail immediately arrives at inbox. User is at Special:Confirmemail, with no
indication that email was sent.

  1. Click the "Mail a confirmation code" button.

Second E-mail arrives at inbox. User is presented with "Confirmation e-mail
sent" message in big red letters, still on Special:Confirmemail.

robchur wrote:

I rewrote Special:Confirmemail to behave in a more sane fashion; it now informs
the user of the date and time their email address was last authenticated, if at
all. I'm inclined to close this FIXED as a result of those changes.