Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: techguy2011 - kesäkuu 16, 2011, 08:35:18 IP

Otsikko: Remove Password from Confirmation Email
Kirjoitti: techguy2011 - kesäkuu 16, 2011, 08:35:18 IP
Users are getting sent their passwords in the registration confirmation email from SMF. I want to disable this feature so that the email does not contain their user passwords.

I have tried modifying login.english.php but it did not resolve the issue,

I used the information here for version 1.X which I have 1.14

http://wiki.simplemachines.org/smf/How_do_I_edit_the_registration/welcome_email
Otsikko: Re: Remove Password from Confirmation Email
Kirjoitti: Kratty256 - kesäkuu 16, 2011, 10:24:51 IP
You'll need to modify the EmailTemplates.english.php files under /path/to/smf/Themes/default/languages/EmailTemplates.english.php

Do a search for:
{PASSWORD}

And change the lines associated with them.
Otsikko: Re: Remove Password from Confirmation Email
Kirjoitti: lorth - kesäkuu 18, 2011, 10:37:33 AP
running 1.1.14, i dont have an EmailTemplates.english.php in that directory:
lorth@lorth:/srv/smf/Themes/default/languages$ ls E*
-rw-rw---- 1 www-data lorth    22K 2011-06-14 09:09 Errors.english.php
-rw-rw---- 1 www-data lorth    25K 2009-12-01 11:01 Errors.german-utf8.php
lorth@lorth:/srv/smf/Themes/default/languages$ cd ..
lorth@lorth:/srv/smf/Themes/default$ ls E*
-rw-rw---- 1 www-data lorth 7,7K 2006-09-02 16:24 Errors.template.php
Otsikko: Re: Remove Password from Confirmation Email
Kirjoitti: Illori - kesäkuu 18, 2011, 11:14:39 AP
emailtemplates.english.php is a 2.0 only file. you would need to search the language files to find the correct file. it may be in login.english.php.
Otsikko: Re: Remove Password from Confirmation Email
Kirjoitti: lorth - kesäkuu 18, 2011, 12:23:43 IP
indeed, it is.
thanks for the hint.