In order to get a full user object for users that register without facebook or Google+, we need to get their first name and last name. Create new form fields and get the fname lname data to the passport local strategy and save fname + ' ' + lname to the User.local.realname field in the database.
In order to get a full user object for users that register without facebook or Google+, we need to get their first name and last name. Create new form fields and get the fname lname data to the passport local strategy and save fname + ' ' + lname to the User.local.realname field in the database.