Certificates - perms and model

Move certificates to the new permissions system
Deduplicate add/edit using a model
This commit is contained in:
wrongecho 2024-10-02 11:26:58 +01:00
parent 4e9afd3e6b
commit 4a625183fb
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<?php
$name = sanitizeInput($_POST['name']);
$description = sanitizeInput($_POST['description']);
$domain = sanitizeInput($_POST['domain']);
$issued_by = sanitizeInput($_POST['issued_by']);
$expire = sanitizeInput($_POST['expire']);
$public_key = sanitizeInput($_POST['public_key']);
$notes = sanitizeInput($_POST['notes']);
$domain_id = intval($_POST['domain_id']);
$client_id = intval($_POST['client_id']);