Facebook emails are verified
authorIlya Zverev <zverik@textual.ru>
Mon, 30 Nov 2015 07:42:07 +0000 (02:42 -0500)
committerTom Hughes <tom@compton.nu>
Mon, 7 Dec 2015 14:23:23 +0000 (14:23 +0000)
commit988ee11fe4165d8856f5d8a105bf95777168a8b0
tree02575df11ad8c871f2b92450a526077f476eafb1
parentbb9f20710e851eb4943bfb8e63386680e359834a
Facebook emails are verified

Per https://developers.facebook.com/docs/graph-api/reference/user the
offical description of the email field is:

> The person's primary email address listed on their profile. This
> field will not be returned if no valid email address is available

Therefore we can treat the fact that the email is returned as proof
that it has been verified.
app/controllers/user_controller.rb