mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Certificates - perms and model
Move certificates to the new permissions system Deduplicate add/edit using a model
This commit is contained in:
10
post/user/certificate_model.php
Normal file
10
post/user/certificate_model.php
Normal 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']);
|
||||
Reference in New Issue
Block a user