[Web] Fix username policy display for admins and domain admins

master
andryyy 2021-04-20 20:52:37 +02:00
parent 7f09d47525
commit 46f2a011c3
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 4 additions and 4 deletions

View File

@ -59,8 +59,8 @@ if (!isset($_SESSION['mailcow_cc_role'])) {
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2" for="username"><?=$lang['admin']['username'];?>:</label> <label class="control-label col-sm-2" for="username"><?=$lang['admin']['username'];?>:</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input type="text" class="form-control" name="username" required> <input type="text" class="form-control" name="username" onkeyup="this.value = this.value.toLowerCase();" required>
&rdsh; <kbd>a-z A-Z - _ .</kbd> &rdsh; <kbd>a-z - _ .</kbd>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -171,8 +171,8 @@ if (!isset($_SESSION['mailcow_cc_role'])) {
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2" for="username"><?=$lang['admin']['username'];?>:</label> <label class="control-label col-sm-2" for="username"><?=$lang['admin']['username'];?>:</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input type="text" class="form-control" name="username" required> <input type="text" class="form-control" name="username" onkeyup="this.value = this.value.toLowerCase();" required>
&rdsh; <kbd>a-z A-Z - _ .</kbd> &rdsh; <kbd>a-z - _ .</kbd>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">