The best way to fix this would be to implement your own registration UI and not use the accounts-ui
package for registration. The logged in bit of it takes the name from Meteor.user().profile.name
. You could fill this in using a manual account creation process:
You can use something like this to register:
Accounts.createUser({
username: 'username_here',
password: 'password_here',
email: 'email_here',
profile: {
name: 'Name here'
}
}, function(err) {
if(!err) {
//Do something - the user is registered
}else{
alert(err.reason);
}
});
You could perhaps still use the accounts-ui package to log in and disable the register link using CSS.
#login-buttons #signup-link {
display: none;
}