mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct facebook logic
This commit is contained in:
@@ -14,10 +14,6 @@ class Auth::Authenticator
|
||||
# not required
|
||||
end
|
||||
|
||||
def lookup_user(user_info, email)
|
||||
user_info.try(:user) || User.where(email: email).first
|
||||
end
|
||||
|
||||
# hook used for registering omniauth middleware,
|
||||
# without this we can not authenticate
|
||||
def register_middleware(omniauth)
|
||||
|
||||
Reference in New Issue
Block a user