Added User profiles so users can change their username
This commit is contained in:
5
rpg-docs/client/views/user/profile/usernameDialog.js
Normal file
5
rpg-docs/client/views/user/profile/usernameDialog.js
Normal file
@@ -0,0 +1,5 @@
|
||||
Template.usernameDialog.events({
|
||||
"tap #changeButton": function(event, instance){
|
||||
Meteor.users.update(Meteor.userId(), {$set: {username: instance.find("#usernameInput").value}});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user