Post by annelim » Tue Aug 07, 2012 1:42 am

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.

Active Member

Posts

Joined
Fri Oct 28, 2011 5:13 pm

Post by Avvici » Tue Aug 07, 2012 3:37 am

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>

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by annelim » Tue Aug 07, 2012 11:39 am

you are GREAT ! thank you avvici.

Active Member

Posts

Joined
Fri Oct 28, 2011 5:13 pm

Post by Mexico123 » Tue Jul 29, 2014 10:12 pm

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?

Newbie

Posts

Joined
Sat Jul 20, 2013 2:16 pm
Who is online

Users browsing this forum: No registered users and 19 guests