Added User profiles so users can change their username

This commit is contained in:
Thaum
2015-03-31 11:38:09 +00:00
parent 51d697b894
commit dad9f3dd73
14 changed files with 136 additions and 50 deletions

View File

@@ -0,0 +1,5 @@
Template.usernameDialog.events({
"tap #changeButton": function(event, instance){
Meteor.users.update(Meteor.userId(), {$set: {username: instance.find("#usernameInput").value}});
}
});