meanjs/mean — pull request #280 by mattraby (2014-11-26 17:28:12+00:00)
Title: 0.4.0 - 'username' deprecated in facebook api >=2.0

When creating a user account using facebook oauth the error "(#12) username is deprecated for versions v2.0 and higher" is returned. Removing 'username' from the passport facebook strategy's 'profileFields' will correct this issue. The user account will be created using the local part of the user's email address as the username.