]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Change provider name to "microsoft"
[rails.git] / app / controllers / users_controller.rb
index 769f3d411d73008dc0261c3bf0e99bf87089d0c6..0f9e1676764d11d5efb165254b798bc228bb0b2a 100644 (file)
@@ -250,7 +250,7 @@ class UsersController < ApplicationController
                      when "openid"
                        uid.match(%r{https://www.google.com/accounts/o8/id?(.*)}) ||
                        uid.match(%r{https://me.yahoo.com/(.*)})
-                     when "google", "facebook", "microsoft_graph"
+                     when "google", "facebook", "microsoft"
                        true
                      else
                        false