Update Credential Important to Favorite

This commit is contained in:
johnnyq
2026-02-05 12:24:21 -05:00
parent be172b5bd9
commit bdd56c91f7
5 changed files with 15 additions and 7 deletions

View File

@@ -11,6 +11,6 @@ $username = encryptCredentialEntry(trim($_POST['username']));
$password = encryptCredentialEntry(trim($_POST['password']));
$otp_secret = sanitizeInput($_POST['otp_secret']);
$note = sanitizeInput($_POST['note']);
$important = intval($_POST['important'] ?? 0);
$favorite = intval($_POST['favorite'] ?? 0);
$contact_id = intval($_POST['contact'] ?? 0);
$asset_id = intval($_POST['asset'] ?? 0);