Try to allow register and login.

Thanks to xet7 !

Related #4383
This commit is contained in:
Lauri Ojansivu 2022-02-27 23:13:20 +02:00
parent 4bcddcc98a
commit 3076547cee
3 changed files with 30 additions and 22 deletions

View file

@ -53,6 +53,18 @@ Template.userFormsLayout.onCreated(function() {
$('.at-pwd-form').hide();
}
});
Meteor.call('isDisableRegistration', (_, result) => {
if (result) {
$('.at-signUp').hide();
}
});
Meteor.call('isDisableForgotPassword', (_, data) => {
if (result) {
$('.at-forgotPwd').hide();
}
});
});
Template.userFormsLayout.onRendered(() => {