There is a small percentage of new users who manage to type their emails incorrectly, and consequently don't get the confirmation email and can't use the account they created. I don't much like the "type your email twice" solution myself, so these changes try to help users who make this kind of mistake by showing them the email address which they typed into the registration form in large red letters, and giving them a link with which they can fix the email if they notice a mistake.
A couple small cleanup items are included. The config option auth.validate_emails was used in a test, but has been obsolete for a while, and the check-your-email template had a check for reason == 'email_change' which was never true.
There is a small percentage of new users who manage to type their emails incorrectly, and consequently don't get the confirmation email and can't use the account they created. I don't much like the "type your email twice" solution myself, so these changes try to help users who make this kind of mistake by showing them the email address which they typed into the registration form in large red letters, and giving them a link with which they can fix the email if they notice a mistake.
A couple small cleanup items are included. The config option
auth.validate_emails
was used in a test, but has been obsolete for a while, and the check-your-email template had a check forreason == 'email_change'
which was never true.