Page 1 of 1

[solved] admin/system/setting/mail (password modify)

Posted: Tue Aug 07, 2012 1:42 am
by annelim
Dear all,

admin/system/setting/mail (password modify)
i trying to use the smtp, and set all the way of mail account username and password, i found out the password i type in it was show as text format, it doesn't hide the password in format " ******* "
does any one know how to set the password only show like " ******* " instead of showing " text format "
how to change the format ? please help .
thanks.

Re: admin/system/setting/mail (password modify)

Posted: Tue Aug 07, 2012 3:37 am
by Avvici
Yes, open /admin/view/template/setting/setting.tpl and find this code:

Code: Select all

<td><input type="text" name="config_smtp_password" value="<?php echo $config_smtp_password; ?>" /></td>
Replace with this:

Code: Select all

 <td><input name="config_smtp_password" type="password" value="<?php echo $config_smtp_password; ?>" /></td>

Re: admin/system/setting/mail (password modify)

Posted: Tue Aug 07, 2012 11:39 am
by annelim
you are GREAT ! thank you avvici.

Re: [solved] admin/system/setting/mail (password modify)

Posted: Tue Jul 29, 2014 10:12 pm
by Mexico123
I hope it's okay to revive the topic. I also want the password hidden, and while type="password" visually hides it, one can still see the password if you inspect the code:

<input type="password" name="config_smtp_password" value="password-Will-Be-Displayed-Here">

How can this be avoided?