]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Add preferred provider social signup
[rails.git] / app / controllers / users_controller.rb
index 74ec5c0ec323f911af2017181b19cc16767cf408..e022ff0c14915322faf0e7045d38ed803a0c34f8 100644 (file)
@@ -60,6 +60,8 @@ class UsersController < ApplicationController
                  session[:referer]
                end
 
+    parse_oauth_referer @referer
+
     append_content_security_policy_directives(
       :form_action => %w[accounts.google.com *.facebook.com login.live.com github.com meta.wikimedia.org]
     )