mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-24 08:52:14 -04:00
#645 Add handling for facebook
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user