File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 111
111
<div class="inline field">
112
112
<div class="ui checkbox">
113
113
<label for="team_group_map_enabled"><strong>{{.i18n.Tr "admin.auths.team_group_map_enabled"}}</strong></label>
114
- <input id="team_group_map_enabled" name="team_group_map_enabled" type="checkbox" class="ldap_group_options " {{if $cfg.TeamGroupMapEnabled}}checked{{end}}>
114
+ <input id="team_group_map_enabled" name="team_group_map_enabled" type="checkbox" class="ldap-group-options " {{if $cfg.TeamGroupMapEnabled}}checked{{end}}>
115
115
</div>
116
116
</div>
117
117
<div class="inline field">
118
118
<div class="ui checkbox">
119
119
<label for="team_group_map_removal"><strong>{{.i18n.Tr "admin.auths.team_group_map_removal"}}</strong></label>
120
- <input id="team_group_map_removal" name="team_group_map_removal" type="checkbox" class="ldap_group_options " {{if $cfg.TeamGroupMapRemoval}}checked{{end}}>
120
+ <input id="team_group_map_removal" name="team_group_map_removal" type="checkbox" class="ldap-group-options " {{if $cfg.TeamGroupMapRemoval}}checked{{end}}>
121
121
</div>
122
122
</div>
123
123
<div class="inline field">
124
124
<div class="ui checkbox">
125
125
<label for="groups_enabled"><strong>{{.i18n.Tr "admin.auths.verify_group_membership"}}</strong></label>
126
- <input id="groups_enabled" name="groups_enabled" type="checkbox" class="ldap_group_options " {{if $cfg.GroupsEnabled}}checked{{end}}>
126
+ <input id="groups_enabled" name="groups_enabled" type="checkbox" class="ldap-group-options " {{if $cfg.GroupsEnabled}}checked{{end}}>
127
127
</div>
128
128
</div>
129
129
<div id="groups_enabled_change">
Original file line number Diff line number Diff line change 82
82
<div class="inline field">
83
83
<div class="ui checkbox">
84
84
<label for="team_group_map_enabled"><strong>{{.i18n.Tr "admin.auths.team_group_map_enabled"}}</strong></label>
85
- <input id="team_group_map_enabled" name="team_group_map_enabled" type="checkbox" class="ldap_group_options " {{if .team_group_map_enabled}}checked{{end}}>
85
+ <input id="team_group_map_enabled" name="team_group_map_enabled" type="checkbox" class="ldap-group-options " {{if .team_group_map_enabled}}checked{{end}}>
86
86
</div>
87
87
</div>
88
88
<div class="inline field">
89
89
<div class="ui checkbox">
90
90
<label for="team_group_map_removal"><strong>{{.i18n.Tr "admin.auths.team_group_map_removal"}}</strong></label>
91
- <input id="team_group_map_removal" name="team_group_map_removal" type="checkbox" class="ldap_group_options " {{if .team_group_map_removal}}checked{{end}}>
91
+ <input id="team_group_map_removal" name="team_group_map_removal" type="checkbox" class="ldap-group-options " {{if .team_group_map_removal}}checked{{end}}>
92
92
</div>
93
93
</div>
94
94
<div class="inline field">
95
95
<div class="ui checkbox">
96
96
<label for="groups_enabled"><strong>{{.i18n.Tr "admin.auths.verify_group_membership"}}</strong></label>
97
- <input id="groups_enabled" name="groups_enabled" type="checkbox" class="ldap_group_options " {{if .groups_enabled}}checked{{end}}>
97
+ <input id="groups_enabled" name="groups_enabled" type="checkbox" class="ldap-group-options " {{if .groups_enabled}}checked{{end}}>
98
98
</div>
99
99
</div>
100
100
<div id="groups_enabled_change">
Original file line number Diff line number Diff line change @@ -165,14 +165,14 @@ export function initAdminCommon() {
165
165
$ ( '#use_paged_search' ) . on ( 'change' , onUsePagedSearchChange ) ;
166
166
$ ( '#oauth2_provider' ) . on ( 'change' , ( ) => onOAuth2Change ( true ) ) ;
167
167
$ ( '#oauth2_use_custom_url' ) . on ( 'change' , ( ) => onOAuth2UseCustomURLChange ( true ) ) ;
168
- $ ( '.ldap_group_options ' ) . on ( 'change' , onVerifyGroupMembershipChange ) ;
168
+ $ ( '.ldap-group-options ' ) . on ( 'change' , onVerifyGroupMembershipChange ) ;
169
169
}
170
170
// Edit authentication
171
171
if ( $ ( '.admin.edit.authentication' ) . length > 0 ) {
172
172
const authType = $ ( '#auth_type' ) . val ( ) ;
173
173
if ( authType === '2' || authType === '5' ) {
174
174
$ ( '#security_protocol' ) . on ( 'change' , onSecurityProtocolChange ) ;
175
- $ ( '.ldap_group_options ' ) . on ( 'change' , onVerifyGroupMembershipChange ) ;
175
+ $ ( '.ldap-group-options ' ) . on ( 'change' , onVerifyGroupMembershipChange ) ;
176
176
onVerifyGroupMembershipChange ( ) ;
177
177
if ( authType === '2' ) {
178
178
$ ( '#use_paged_search' ) . on ( 'change' , onUsePagedSearchChange ) ;
You can’t perform that action at this time.
0 commit comments