Add Google auth validation and fix the case where no config is specified at all for Google auth or Github auth

This commit is contained in:
Joseph Schorr 2015-01-08 13:56:17 -05:00
parent 5e0ce4eea9
commit 5ac2c4970a
3 changed files with 49 additions and 7 deletions

View file

@ -31,6 +31,10 @@ angular.module("core-config-setup", ['angularFileUpload'])
return config.FEATURE_GITHUB_LOGIN;
}},
{'id': 'google-login', 'title': 'Google Authentication', 'condition': function(config) {
return config.FEATURE_GOOGLE_LOGIN;
}},
{'id': 'github-trigger', 'title': 'Github (Enterprise) Build Triggers', 'condition': function(config) {
return config.FEATURE_GITHUB_BUILD;
}}