Skip to content

Commit 38e5a4d

Browse files
committed
Option hiding corrected
Fixes: e45a831 Related: #18466 Author-Change-Id: IB#1105051
1 parent e45a831 commit 38e5a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/admin/user/edit.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@
9292

9393
<div class="ui divider"></div>
9494

95-
<div class="inline field" {{if DisableLocalUserManagement}} hidden{{end}}>
95+
<div class="inline field">
9696
<div class="ui checkbox">
9797
<label><strong>{{.i18n.Tr "admin.users.is_activated"}}</strong></label>
9898
<input name="active" type="checkbox" {{if .User.IsActive}}checked{{end}} {{if DisableLocalUserManagement}}readonly{{end}}>
9999
</div>
100100
</div>
101-
<div class="inline field">
101+
<div class="inline field" {{if DisableLocalUserManagement}} hidden{{end}}>
102102
<div class="ui checkbox">
103103
<label><strong>{{.i18n.Tr "admin.users.prohibit_login"}}</strong></label>
104104
<input name="prohibit_login" type="checkbox" {{if .User.ProhibitLogin}}checked{{end}} {{if eq .User.ID .SignedUserID}}disabled{{end}}>

0 commit comments

Comments
 (0)