Skip to content
Snippets Groups Projects
Unverified Commit a637f1a7 authored by Connor Shea's avatar Connor Shea
Browse files

Add Facebook login and appease Rubocop.

parent a6d0ab49
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -97,7 +97,6 @@ SecureHeaders::Configuration.default do |config|
config.csp[:script_src] << "https://www.google-analytics.com"
end
 
# Allow connecting accounts to Twitter, Google, GitLab.com, Bitbucket, and GitHub.
if Gitlab.config.omniauth.enabled
config.csp[:form_action] << "api.twitter.com"
Loading
Loading
@@ -105,6 +104,7 @@ SecureHeaders::Configuration.default do |config|
config.csp[:form_action] << "gitlab.com"
config.csp[:form_action] << "bitbucket.org"
config.csp[:form_action] << "github.com"
config.csp[:form_action] << "facebook.com"
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment