diff options
author | Shaun <shaun.dowling@gmail.com> | 2017-11-11 23:18:21 +0000 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-12 01:18:21 +0200 |
commit | dd026a4ebb4a53c4cf644261b55772921181a7e8 (patch) | |
tree | 145c0bfefeb0610aeec3061a82a793db62b2609c /public/js | |
parent | 524cca3a1e28ade644b28f6bd348c45656ecde25 (diff) | |
download | gitea-dd026a4ebb4a53c4cf644261b55772921181a7e8.tar.gz gitea-dd026a4ebb4a53c4cf644261b55772921181a7e8.zip |
Fix adding a new authentication source after selecting OAuth (#2889)
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index b6438f296f..3fe828e000 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -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) { |