]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge pull request #4550 from tomhughes/drop-user-tokens
[rails.git] / app / controllers / users_controller.rb
index 429fa47a4096ec2174b0bc8bfb258677736eff95..fbf49ecbe6835cb1ba99ce52193d96c2f835a8e3 100644 (file)
@@ -247,7 +247,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"
+                     when "google", "facebook", "microsoft", "github", "wikipedia"
                        true
                      else
                        false