psychobunny 11 years ago
commit 81de895c0e

@ -209,6 +209,11 @@ var bcrypt = require('bcryptjs'),
} else {
user.hasPassword = false;
}
if (user.picture === user.uploadedpicture) {
// Append relative url
user.picture = nconf.get('relative_path') + user.picture;
}
}
});

Loading…
Cancel
Save