diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-04-14 21:23:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 21:23:10 +0300 |
commit | 13563e20e7b322dfb4534ef1096674e9e1c4b7de (patch) | |
tree | 15758c81968eaf1d0d65a09e0195ec9d9d4e9bfb /client | |
parent | c5f782976b971fa3f2323e80a013bbf6a49c0596 (diff) | |
parent | 4f1330c777ae52f2b52eacda4f0945dee1cb51af (diff) | |
download | wekan-13563e20e7b322dfb4534ef1096674e9e1c4b7de.tar.gz wekan-13563e20e7b322dfb4534ef1096674e9e1c4b7de.tar.bz2 wekan-13563e20e7b322dfb4534ef1096674e9e1c4b7de.zip |
Merge pull request #3014 from salleman33/master
hide password auth with PASSWORD_LOGIN_ENABLED variable
Diffstat (limited to 'client')
-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..83678e73 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('isPasswordLoginDisabled', (_, result) => { + if (result) { + $('.at-pwd-form').hide(); + } + }); }); Template.userFormsLayout.onRendered(() => { |