Includes possibility to block username change

This commit is contained in:
Thiago Fernando S. dos Santos 2018-05-04 16:44:50 -03:00
parent c48c18c4e9
commit 2fa1b3122d
47 changed files with 139 additions and 71 deletions

View file

@ -24,6 +24,9 @@ Template.editProfilePopup.helpers({
allowEmailChange() {
return AccountSettings.findOne('accounts-allowEmailChange').booleanValue;
},
allowUserNameChange() {
return AccountSettings.findOne('accounts-allowUserNameChange').booleanValue;
},
});
Template.editProfilePopup.events({