From 70f48108b45dc2a1caad063cb27cbaf54495429e Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Fri, 21 Aug 2015 12:21:23 +0930 Subject: [PATCH] #645 Add handling for facebook --- app/controllers/authentications_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/authentications_controller.rb b/app/controllers/authentications_controller.rb index 9a873bebb..3116eca73 100644 --- a/app/controllers/authentications_controller.rb +++ b/app/controllers/authentications_controller.rb @@ -12,7 +12,7 @@ class AuthenticationsController < ApplicationController case auth['provider'] when 'twitter' name = auth['info']['nickname'] - when 'flickr' + when 'flickr', 'facebook' name = auth['info']['name'] else name = auth['info']['name']