Adjust Facebook login according to #3310
This commit is contained in:
parent
3a9eaa4c83
commit
5ae6875260
1 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ module.exports = FacebookHandler = class FacebookHandler extends CocoClass
|
|||
@waitingForLogin = true
|
||||
|
||||
fetchMeForLogin: ->
|
||||
FB.api('/me', @onReceiveMeInfo)
|
||||
FB.api('/me', {fields: 'email,last_name,first_name,gender'}, @onReceiveMeInfo)
|
||||
|
||||
onReceiveMeInfo: (r) =>
|
||||
unless r.email
|
||||
|
|
Reference in a new issue