Skip to content

Commit 4a936e3

Browse files
author
Kristan Kenney
committed
Add option to block login to UI
1 parent 6ac2ece commit 4a936e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web/templates/pages/edit_user.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@
192192
</tr>
193193
<? } ?>
194194
<? } ?>
195+
<tr>
196+
<td>
197+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_user_login_disabled" <?php if ((isset($data[$user]['LOGIN_DISABLED'])) && (!empty($data[$user]['LOGIN_DISABLED'])) && ($data[$user]['LOGIN_DISABLED'] == "yes")) echo "checked=yes" ?>><?php print _('User can not log in to Control Panel');?></label>
198+
</td>
199+
</tr>
195200
<? if ($_SESSION['POLICY_USER_CHANGE_THEME'] !== 'no') {?>
196201
<tr>
197202
<td class="vst-text input-label">

0 commit comments

Comments
 (0)