Moved more edit add vars to models

This commit is contained in:
johnnyq
2023-03-21 21:18:12 -04:00
parent 3202bceddd
commit 201db36c24
3 changed files with 32 additions and 48 deletions

13
models/client_logins.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
$client_id = intval($_POST['client_id']);
$name = sanitizeInput($_POST['name']);
$uri = sanitizeInput($_POST['uri']);
$username = encryptLoginEntry($_POST['username']);
$password = encryptLoginEntry($_POST['password']);
$otp_secret = sanitizeInput($_POST['otp_secret']);
$note = sanitizeInput($_POST['note']);
$important = intval($_POST['important']);
$contact_id = intval($_POST['contact']);
$vendor_id = intval($_POST['vendor']);
$asset_id = intval($_POST['asset']);
$software_id = intval($_POST['software']);