drat, i wish i noticed this before the 5.0 release and resulting string freeze. :(

when users register on a site that requires admin approval, core always prints out the following message to the screen:

Thank you for applying for an account. Your account is currently pending approval by the site administrator.
In the meantime, your password and further instructions have been sent to your e-mail address.

however, that's not always true. sites can configure the welcome message to include as little or as much info as they want in the admin settings pages. in particular, the password is not always included, and in fact, if you use the http://drupal.org/project/user_status module, the password should *not* be included in the initial welcome email, only once the account has been approved.

so, i'm proposing the following text, which is always true:

Thank you for applying for an account. Your account is currently pending approval by the site administrator.
In the meantime, a welcome message has been sent to your e-mail address.

i know this will (again) break translations, but any chance of fixing this in 5.x?

cheers,
-derek

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drumm’s picture

Version: 5.x-dev » 6.x-dev
Dries’s picture

Status: Needs review » Needs work

Mmm, I don't think the proposed replacement is an improvement. In 95% of the cases, it will become less clear. A "welcome message" is something I don't care about. However, a "password mail" is. I think we need very clear instruction rather than generic yadda-yadda. :-)

dww’s picture

then perhaps we should make this drupal_set_message() text a setting, too. because it's going to be incorrect in general depending on how people customize their welcome email text. also, drumm pointed out in IRC that it's actually broken in 5.x, since there's no password at all in the initial email, only a 1-time login.

i guess, even with a setting, we need a default. so, how about:

Thank you for applying for an account. Your account is currently pending approval by the site administrator.
In the meantime, a welcome message with further instructions has been sent to your e-mail address.

?

keith.smith’s picture

Title: fix misleading message when users register » String freeze: fix misleading message when users register
Component: user system » documentation
Status: Needs work » Needs review
FileSize
1.12 KB

Rerolled for HEAD, with dww's suggested text from #3.

dww’s picture

FileSize
1.05 KB

Rerolled to fix a grammar error: "a welcome message... has been sent..."

keith.smith’s picture

Oops. :)

Gábor Hojtsy’s picture

Status: Needs review » Fixed

This is as far as I see a good improvement, so committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.