Procházet zdrojové kódy

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

tags/v1.3.0-rc1
Shaun před 6 roky
rodič
revize
dd026a4ebb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      public/js/index.js

+ 1
- 1
public/js/index.js Zobrazit soubor

@@ -1114,7 +1114,7 @@ function initAdmin() {
$('#auth_type').change(function () {
$('.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();
switch (authType) {

Načítá se…
Zrušit
Uložit