mirror of
https://github.com/wekan/wekan.git
synced 2026-01-31 13:45:17 +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
|
|
@ -639,3 +639,7 @@ a:not(.disabled).is-active i.fa {
|
|||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.at-pwd-form {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -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