#645 Add handling for facebook

This commit is contained in:
Daniel O'Connor
2015-08-21 12:21:23 +09:30
parent df5689ec18
commit 70f48108b4

View File

@@ -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']