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:
parent
5e0ce4eea9
commit
5ac2c4970a
3 changed files with 49 additions and 7 deletions
|
@ -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;
|
||||
}}
|
||||
|
|
Reference in a new issue