X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bac40c94e4327ab4f41cc9723d5af1b1e3f43ea7..56a34d85ccacb9068f4c2dae0be1991b31a82e16:/app/controllers/accounts_controller.rb diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 1f1cc577a..6b47ca666 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -17,7 +17,7 @@ class AccountsController < ApplicationController @tokens = current_user.oauth_tokens.authorized append_content_security_policy_directives( - :form_action => %w[accounts.google.com *.facebook.com login.live.com login.microsoftonline.com github.com meta.wikimedia.org] + :form_action => %w[accounts.google.com *.facebook.com login.microsoftonline.com github.com meta.wikimedia.org] ) if errors = session.delete(:user_errors) @@ -32,7 +32,7 @@ class AccountsController < ApplicationController @tokens = current_user.oauth_tokens.authorized append_content_security_policy_directives( - :form_action => %w[accounts.google.com *.facebook.com login.live.com login.microsoftonline.com github.com meta.wikimedia.org] + :form_action => %w[accounts.google.com *.facebook.com login.microsoftonline.com github.com meta.wikimedia.org] ) user_params = params.require(:user).permit(:display_name, :new_email, :pass_crypt, :pass_crypt_confirmation, :auth_provider)