[Web] Verify OPTIONAL license plus minor fixes
This commit is contained in:
@@ -90,8 +90,11 @@ if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admi
|
||||
if (isset($_POST["reset_main_logo"])) {
|
||||
customize('delete', 'main_logo');
|
||||
}
|
||||
// API cannot be controlled by API
|
||||
if (isset($_POST["admin_api"])) {
|
||||
// API and license cannot be controlled by API
|
||||
if (isset($_POST["license_validate_now"])) {
|
||||
license('verify');
|
||||
}
|
||||
if (isset($_POST["admin_api"])) {
|
||||
admin_api('edit', $_POST);
|
||||
}
|
||||
if (isset($_POST["admin_api_regen_key"])) {
|
||||
|
Reference in New Issue
Block a user