diff options
author | Paolo Borelli <pborelli@gnome.org> | 2015-04-23 13:58:57 +0200 |
---|---|---|
committer | Ignacio Casal Quinteiro <icq@gnome.org> | 2015-04-24 10:13:01 +0200 |
commit | 182003aa417ba67661c6743e0fabe6e1f67efd1c (patch) | |
tree | cff0efe4adedd4bc52b3c852e254a7c4fe0dad99 /public | |
parent | 2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff) | |
download | gitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.tar.gz gitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.zip |
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(); } }); |