summaryrefslogtreecommitdiffstats
path: root/client/components/settings/peopleBody.js
diff options
context:
space:
mode:
authorAkuket <32392661+Akuket@users.noreply.github.com>2018-10-16 11:46:21 +0200
committerGitHub <noreply@github.com>2018-10-16 11:46:21 +0200
commit50edffee47edf94f4f3aa21e5030354a33acf3d6 (patch)
treebc92da43c179b9bc88cd34b0c92c8938007a3517 /client/components/settings/peopleBody.js
parent41330b15dccfdd45c08b2657833a0bcba9576243 (diff)
parent3dcebe8a9eb6ef96fc8a6a42dc1a1ce7a2a4d98c (diff)
downloadwekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.tar.gz
wekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.tar.bz2
wekan-50edffee47edf94f4f3aa21e5030354a33acf3d6.zip
Merge branch 'edge' into edge
Diffstat (limited to 'client/components/settings/peopleBody.js')
-rw-r--r--client/components/settings/peopleBody.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/components/settings/peopleBody.js b/client/components/settings/peopleBody.js
index acc94081..a4d70974 100644
--- a/client/components/settings/peopleBody.js
+++ b/client/components/settings/peopleBody.js
@@ -67,12 +67,12 @@ Template.editUserPopup.onCreated(function() {
Meteor.call('getAuthenticationsEnabled', (_, result) => {
if (result) {
- // TODO : add a management of different languages
+ // TODO : add a management of different languages
// (ex {value: ldap, text: TAPi18n.__('ldap', {}, T9n.getLanguage() || 'en')})
this.authenticationMethods.set([
{value: 'password'},
// Gets only the authentication methods availables
- ...Object.entries(result).filter(e => e[1]).map(e => ({value: e[0]})),
+ ...Object.entries(result).filter((e) => e[1]).map((e) => ({value: e[0]})),
]);
}
});
@@ -94,7 +94,7 @@ Template.editUserPopup.helpers({
const userId = Template.instance().data.userId;
const selected = Users.findOne(userId).authenticationMethod;
return selected === 'ldap';
- }
+ },
});
BlazeComponent.extendComponent({
@@ -131,7 +131,7 @@ Template.editUserPopup.events({
'profile.fullname': fullname,
'isAdmin': isAdmin === 'true',
'loginDisabled': isActive === 'true',
- 'authenticationMethod': authentication
+ 'authenticationMethod': authentication,
},
});