Added additional parameters to user creation method ()

Treating picture, location and birthday similar to data.email as optional parameters to be passed to the create a user
v1.18.x
husseinwalli committed by psychobunny
parent ff09d6e0dd
commit 3876a88252

@ -28,10 +28,10 @@ module.exports = function (User) {
email: data.email || '',
joindate: timestamp,
lastonline: timestamp,
picture: '',
picture: data.picture || '',
fullname: data.fullname || '',
location: '',
birthday: '',
location: data.location || '',
birthday: data.birthday || '',
website: '',
signature: '',
uploadedpicture: '',

Loading…
Cancel
Save