Browse Source

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

tags/v1.3.0-rc1
Shaun 6 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 View File

$('#auth_type').change(function () { $('#auth_type').change(function () {
$('.ldap, .dldap, .smtp, .pam, .oauth2, .has-tls').hide(); $('.ldap, .dldap, .smtp, .pam, .oauth2, .has-tls').hide();


$('.ldap input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required] .has-tls input[required]').removeAttr('required');
$('.ldap input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required]').removeAttr('required');


var authType = $(this).val(); var authType = $(this).val();
switch (authType) { switch (authType) {

Loading…
Cancel
Save