auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)

* Add new Authentication Source: GitHub, including GitHub Enterprise.

* Add vendor dependencies.
This commit is contained in:
haixunlu
2018-12-18 12:49:30 -08:00
committed by 无闻
parent ff93d9dbda
commit 311df9c521
97 changed files with 27875 additions and 10 deletions

View File

@@ -860,6 +860,7 @@ function initAdmin() {
$('.dldap').hide();
$('.smtp').hide();
$('.pam').hide();
$('.github').hide();
$('.has-tls').hide();
var authType = $(this).val();
@@ -877,7 +878,10 @@ function initAdmin() {
case '5': // LDAP
$('.dldap').show();
break;
}
case '6': //GITHUB
$('.github').show();
break;
}
if (authType == '2' || authType == '5') {
onSecurityProtocolChange()