Merge pull request #2245 from coreos-inc/recaptcha

Add support for recaptcha during the create account flow
This commit is contained in:
josephschorr 2017-01-17 11:34:23 -05:00 committed by GitHub
commit 9b65b37011
12 changed files with 88 additions and 1 deletions

View file

@ -55,6 +55,10 @@ if (window.__config && window.__config.GOOGLE_ANALYTICS_KEY) {
quayDependencies.push('angulartics.google.analytics');
}
if (window.__config && window.__config.RECAPTCHA_SITE_KEY) {
quayDependencies.push('vcRecaptcha');
}
// Define the application.
quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoadingBarProvider) {
cfpLoadingBarProvider.includeSpinner = false;