mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
Rmove continue button, fix bug with facebook signup.
This commit is contained in:
+4
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user