data/web: Update syncjob password input to type password

So the password is not readable in clear text.
master
Markus Frosch 2017-06-19 11:20:56 +02:00
parent 036c51f053
commit 0f8bf53d9c
2 changed files with 2 additions and 2 deletions

View File

@ -527,7 +527,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] ==
<div class="form-group">
<label class="control-label col-sm-2" for="password1"><?=$lang['edit']['password'];?></label>
<div class="col-sm-10">
<input type="text" class="form-control" name="password1" id="password1" value="<?=htmlspecialchars($result['password1'], ENT_QUOTES, 'UTF-8');?>">
<input type="password" class="form-control" name="password1" id="password1" value="<?=htmlspecialchars($result['password1'], ENT_QUOTES, 'UTF-8');?>">
</div>
</div>
<div class="form-group">

View File

@ -36,7 +36,7 @@ if (!isset($_SESSION['mailcow_cc_role'])) {
<div class="form-group">
<label class="control-label col-sm-2" for="password1"><?=$lang['add']['password'];?></label>
<div class="col-sm-10">
<input type="text" class="form-control" name="password1" id="password1" required>
<input type="password" class="form-control" name="password1" id="password1" required>
</div>
</div>
<div class="form-group">