diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2015-04-24 16:43:58 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2015-04-24 16:43:58 +0800 |
commit | f92bdf875b4ccb2a8eadaa571d112ebf653986d6 (patch) | |
tree | 7bdcb2774039667c0ff01deabd283840cd2aaa74 /public | |
parent | 5de0b0c5cef74e762eb499b6517d0416f2c6bace (diff) | |
parent | 182003aa417ba67661c6743e0fabe6e1f67efd1c (diff) | |
download | gitea-f92bdf875b4ccb2a8eadaa571d112ebf653986d6.tar.gz gitea-f92bdf875b4ccb2a8eadaa571d112ebf653986d6.zip |
Merge pull request #1226 from nice-software/wip/pam
Add PAM authentication
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/js/gogs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index c5fd719c32..7ffef8af8b 100644 --- a/public/ng/js/gogs.js +++ b/public/ng/js/gogs.js @@ -753,10 +753,17 @@ function initAdmin() { if (v == 2) { $('.ldap').toggleShow(); $('.smtp').toggleHide(); + $('.pam').toggleHide(); } if (v == 3) { $('.smtp').toggleShow(); $('.ldap').toggleHide(); + $('.pam').toggleHide(); + } + if (v == 4) { + $('.pam').toggleShow(); + $('.smtp').toggleHide(); + $('.ldap').toggleHide(); } }); |