Skip to content

Commit

Permalink
Update credential.Php - model fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho authored Sep 30, 2024
1 parent 7945d8b commit 81844ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post/user/credential.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand All @@ -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']);

Expand Down

0 comments on commit 81844ce

Please sign in to comment.