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
Comment | File | Size | Author |
---|---|---|---|
#5 | 110474-3.patch | 1.05 KB | dww |
#4 | 110474-2.patch | 1.12 KB | keith.smith |
user_register_admin_approval_welcome_text.patch.txt | 1.07 KB | dww |
Comments
Comment #1
drummComment #2
Dries CreditAttribution: Dries commentedMmm, 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. :-)
Comment #3
dwwthen 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:
?
Comment #4
keith.smith CreditAttribution: keith.smith commentedRerolled for HEAD, with dww's suggested text from #3.
Comment #5
dwwRerolled to fix a grammar error: "a welcome message... has been sent..."
Comment #6
keith.smith CreditAttribution: keith.smith commentedOops. :)
Comment #7
Gábor HojtsyThis is as far as I see a good improvement, so committed. Thanks.
Comment #8
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.