mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
hide password auth with PASSWORD_LOGIN_ENABLED variable
This commit is contained in:
parent
35ae07e2a6
commit
3e817257ef
2 changed files with 10 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ Template.userFormsLayout.onCreated(function() {
|
|||
return this.stop();
|
||||
},
|
||||
});
|
||||
Meteor.call('isPasswordDisabled', (_, result) => {
|
||||
if (result) {
|
||||
$('.at-pwd-form').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Template.userFormsLayout.onRendered(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue