[drupal-docs] Password reminder mails will be broken in 4.7

Robert Douglass rob at robshouse.net
Fri Aug 26 08:18:15 UTC 2005


If it is a variable we could rename the old one so that it is reset as 
Dries said, but not removed. Then if anybody whines "I worked 5 hours 
setting that text" we can point them to the renamed version in their 
database.


Dries Buytaert wrote:
> 
> On 26 Aug 2005, at 07:49, Karoly Negyesi wrote:
> 
>>       case 'pass_body':
>>         return t("%username,\n\nA request to reset the password for  
>> your account has been made at %site.\n\nYou may now log in to % 
>> uri_brief clicking on this link or copying and pasting it in your  
>> browser:\n\n%login_url\n\nThis is a one-time login, so it can be  used 
>> only once. It expires after one day and nothing will happen if  it's 
>> not used.\n\nAfter logging in, you will be redirected to % edit_uri so 
>> you can change your password.", $variables);
>>
>> Versus the old.
>>
>>       case 'pass_body':
>>         return t("%username,\n\nHere is your new password for % site. 
>> You may now login to %login_uri using the following username  and 
>> password:\n\nusername: %username\npassword: %password\n\nAfter  
>> logging in, you may wish to change your password at %edit_uri",  
>> $variables);
> 
> 
> It might be best to remove that variable from the database so it is  
> automagically reset -- and actually works.  Most people won't notice  
> because they didn't change the message anyhow.
> 
> -- 
> Dries Buytaert  ::  http://www.buytaert.net/
> 




More information about the drupal-docs mailing list