fix CI (#37486)
This commit is contained in:
parent
699718ab35
commit
dc1fc47118
1 changed files with 1 additions and 1 deletions
|
|
@ -1229,7 +1229,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print '<td>';
|
||||
//$permissiontoselfeditpassword = $object->hasRight('user', 'self', 'password');
|
||||
$permissiontoselfeditpassword = 1; // In creation, we suppose it to true
|
||||
if ($permissiontoselfeditpassword) {
|
||||
if ($permissiontoselfeditpassword) { // @phpstan-ignore-line because value is forced
|
||||
print '<input type="checkbox" name="forcepasswordchange" id="forcepasswordchange" value="1"'.(GETPOST('forcepasswordchange') == '1' ? ' checked="checked"' : '').'>';
|
||||
print '<label class="opacitymedium" for="forcepasswordchange">'.$langs->trans("AtNextLogin").'</label>';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue