Rmove continue button, fix bug with facebook signup.

This commit is contained in:
gaba
2017-02-23 09:48:59 -08:00
parent 32bc754bf7
commit 5d0ea6a880
5 changed files with 14 additions and 24 deletions
+4 -1
View File
@@ -124,6 +124,8 @@ module.exports = class UsersService {
return user;
}
// User does not exist and need to be created.
let username = UsersService.castUsername(displayName);
// The user was not found, lets create them!
@@ -131,7 +133,8 @@ module.exports = class UsersService {
username,
lowercaseUsername: username.toLowerCase(),
roles: [],
profiles: [{id, provider}]
profiles: [{id, provider}],
canEditName: true
});
return user.save();