From 81844cea2ec4f0c0c135b3ad60802ca166f519f9 Mon Sep 17 00:00:00 2001 From: wrongecho <32306651+wrongecho@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:47:22 +0100 Subject: [PATCH] Update credential.Php - model fix path --- post/user/credential.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post/user/credential.php b/post/user/credential.php index bf630dd07..6cd7c5ebf 100644 --- a/post/user/credential.php +++ b/post/user/credential.php @@ -8,7 +8,7 @@ enforceUserPermission('module_credential', 2); - require_once 'post/login_model.php'; + require_once 'post/user/credential_model.php'; mysqli_query($mysqli,"INSERT INTO logins SET login_name = '$name', login_description = '$description', login_uri = '$uri', login_uri_2 = '$uri_2', login_username = '$username', login_password = '$password', login_otp_secret = '$otp_secret', login_note = '$note', login_important = $important, login_contact_id = $contact_id, login_vendor_id = $vendor_id, login_asset_id = $asset_id, login_software_id = $software_id, login_client_id = $client_id"); @@ -27,7 +27,7 @@ enforceUserPermission('module_credential', 2); - require_once 'post/login_model.php'; + require_once 'post/user/credential_model.php'; $login_id = intval($_POST['login_id']);