Browse Source

Fix adding a new authentication source after selecting OAuth (#2889)

Shaun 2 years ago
parent
commit
dd026a4ebb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/js/index.js

+ 1 - 1
public/js/index.js

@@ -1114,7 +1114,7 @@ function initAdmin() {
1114 1114
         $('#auth_type').change(function () {
1115 1115
             $('.ldap, .dldap, .smtp, .pam, .oauth2, .has-tls').hide();
1116 1116
 
1117
-            $('.ldap input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required] .has-tls input[required]').removeAttr('required');
1117
+            $('.ldap input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required]').removeAttr('required');
1118 1118
 
1119 1119
             var authType = $(this).val();
1120 1120
             switch (authType) {