Skip to content

Commit 4340077

Browse files
author
manuelserol
authored
Password fields and email from updates (hestiacp#1876)
* Update SOA Minimum TTL * Update from email field to match other emails sent Almost all emails sent from the control panel come from noreply@domain.tld except the updates that are coming from hestia@domain.tld however this email is not monitored and should be noreply@domain.tld as well * Added password class on password fields To add the "eye" icon to see text instead of password and add the autocomplete="off" * Reverting change
1 parent f662886 commit 4340077

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

web/inc/mail-wrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828

2929
// Define vars
30-
$from = 'Hestia Control Panel <hestia@'.gethostname().'>';
30+
$from = 'Hestia Control Panel <noreply@'.gethostname().'>';
3131
$to = $argv[3]."\n";
3232
$subject = $argv[2]."\n";
3333
$mailtext = file_get_contents("php://stdin");

web/templates/pages/edit_server.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
</tr>
449449
<tr>
450450
<td>
451-
<input type="text" size="20" class="vst-input" name="v_smtp_relay_pass">
451+
<input type="text" size="20" class="vst-input password" name="v_smtp_relay_pass">
452452
</td>
453453
</tr>
454454
</table>
@@ -545,7 +545,7 @@
545545
</tr>
546546
<tr>
547547
<td class="step-left">
548-
<input type="text" size="20" class="vst-input" name="v_mysql_password" value="">
548+
<input type="text" size="20" class="vst-input password" name="v_mysql_password" value="">
549549
<br><br>
550550
</td>
551551
</tr>
@@ -774,7 +774,7 @@
774774
</tr>
775775
<tr>
776776
<td>
777-
<input type="text" size="20" class="vst-input" name="v_backup_password" value="<?=trim($v_backup_password, "'")?>">
777+
<input type="text" size="20" class="vst-input password" name="v_backup_password" value="<?=trim($v_backup_password, "'")?>">
778778
<br><br>
779779
</td>
780780
</tr>
@@ -1305,4 +1305,4 @@
13051305
</tr>
13061306
</table>
13071307
</form>
1308-
</div>
1308+
</div>

0 commit comments

Comments
 (0)