mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Only selectively show login elements once settings is loaded
Fixes #5029
This commit is contained in:
parent
25c8f07c62
commit
ab19bbce8e
4 changed files with 11 additions and 9 deletions
|
|
@ -45,9 +45,9 @@ Template.userFormsLayout.onCreated(function () {
|
|||
return this.stop();
|
||||
},
|
||||
});
|
||||
Meteor.call('isPasswordLoginDisabled', (_, result) => {
|
||||
Meteor.call('isPasswordLoginEnabled', (_, result) => {
|
||||
if (result) {
|
||||
$('.at-pwd-form').hide();
|
||||
$('.at-pwd-form').show();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue