diff options
author | salleman <salleman@wingit.math.u-bordeaux.fr> | 2020-04-13 21:06:27 +0200 |
---|---|---|
committer | salleman <salleman@wingit.math.u-bordeaux.fr> | 2020-04-13 21:06:27 +0200 |
commit | 3e817257ef6d7a527aaad040cdcdcc642caea3c1 (patch) | |
tree | 74f343783d3edcb8160addca5e1c48dca6b3597f /client/components/main/layouts.js | |
parent | 35ae07e2a65c5ab5ba6784cdb67631918a41ccc3 (diff) | |
download | wekan-3e817257ef6d7a527aaad040cdcdcc642caea3c1.tar.gz wekan-3e817257ef6d7a527aaad040cdcdcc642caea3c1.tar.bz2 wekan-3e817257ef6d7a527aaad040cdcdcc642caea3c1.zip |
hide password auth with PASSWORD_LOGIN_ENABLED variable
Diffstat (limited to 'client/components/main/layouts.js')
-rw-r--r-- | client/components/main/layouts.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index e5c86d76..23960a9e 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -31,6 +31,11 @@ Template.userFormsLayout.onCreated(function() { return this.stop(); }, }); + Meteor.call('isPasswordDisabled', (_, result) => { + if (result) { + $('.at-pwd-form').hide(); + } + }); }); Template.userFormsLayout.onRendered(() => { |