Client Portal can now be enabled or disabled in settings > Modules > Enable Client Portal, it is enabled by default

This commit is contained in:
johnnyq
2023-06-14 19:07:39 -04:00
parent 8085f7cd90
commit 25f85486d4
8 changed files with 42 additions and 12 deletions

View File

@@ -29,6 +29,13 @@ require_once("inc_all_settings.php"); ?>
</div>
</div>
<div class="form-group">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" name="config_client_portal_enable" <?php if ($config_client_portal_enable == 1) { echo "checked"; } ?> value="1" id="customSwitch4">
<label class="custom-control-label" for="customSwitch4">Enable Client Portal</label>
</div>
</div>
<hr>
<button type="submit" name="edit_module_settings" class="btn btn-primary text-bold"><i class="fas fa-check mr-2"></i>Save</button>