X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/db7374f2bbdd0b3ee0f3cb0a9cca84f9c72cffb5..03356be5887ec2075f68e42bf8fa0928fa0ce249:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 37f9cd7c2..6390ff19e 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -213,7 +213,7 @@ class UserController < ApplicationController :auth_provider => params[:auth_provider], :auth_uid => params[:auth_uid]) - flash.now[:notice] = t "user.new.auth association" + flash.now[:notice] = render_to_string :partial => "auth_association" else check_signup_allowed end @@ -497,7 +497,7 @@ class UserController < ApplicationController when "openid" email_verified = uid.match(%r{https://www.google.com/accounts/o8/id?(.*)}) || uid.match(%r{https://me.yahoo.com/(.*)}) - when "google" + when "google", "facebook" email_verified = true else email_verified = false