mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix bug in adding new users
New `importUsernames` was not being parsed into an array before calling `setCreateUser()` Issue #3539
This commit is contained in:
parent
e0c94e3cbb
commit
9a6a0b0047
1 changed files with 3 additions and 3 deletions
|
@ -567,9 +567,9 @@ Template.newUserPopup.events({
|
|||
const isAdmin = templateInstance.find('.js-profile-isadmin').value.trim();
|
||||
const isActive = templateInstance.find('.js-profile-isactive').value.trim();
|
||||
const email = templateInstance.find('.js-profile-email').value.trim();
|
||||
const importUsernames = templateInstance
|
||||
.find('.js-import-usernames')
|
||||
.value.trim();
|
||||
const importUsernames = Users.parseImportUsernames(
|
||||
templateInstance.find('.js-import-usernames').value,
|
||||
);
|
||||
|
||||
Meteor.call(
|
||||
'setCreateUser',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue