Hide password reset form if mjml is not setup

This commit is contained in:
Jay Trees 2022-03-04 11:08:11 +01:00
parent 0bae0abbbb
commit 4262c20172

View file

@ -141,6 +141,7 @@ $page->navigation();
is the most trusted open source password manager.
</p>
<?php if ($options->getOption('mjml_api_key') && $options->getOption('mjml_api_secret')) { ?>
<p>
<form class="ui form reset" method="post">
<div class="field">
@ -162,6 +163,7 @@ $page->navigation();
</p>
<p>Please note that you have to enter the email address, you have registered with.</p>
<?php } ?>
</div>
</div>