Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Remove Password from Confirmation Email

Aloittaja techguy2011, kesäkuu 16, 2011, 08:35:18 IP

« edellinen - seuraava »

techguy2011

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

Kratty256

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.

lorth

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

Illori

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.

lorth


Advertisement: