From 28f1a965b838cd6ea511c63374635f8dac9c1b0d Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 24 Jul 2026 17:33:09 -0400 Subject: [PATCH] Remove dead code --- admin/post/api_keys.php | 1 - 1 file changed, 1 deletion(-) diff --git a/admin/post/api_keys.php b/admin/post/api_keys.php index 6a4a0e5b..c36751d3 100644 --- a/admin/post/api_keys.php +++ b/admin/post/api_keys.php @@ -16,7 +16,6 @@ if (isset($_POST['add_api_key'])) { $secret = escapeSql($_POST['key']); // API Key // Credential decryption password - $password = password_hash(trim($_POST['password']), PASSWORD_DEFAULT); $apikey_specific_encryption_ciphertext = encryptUserSpecificKey(trim($_POST['password'])); mysqli_query($mysqli,"INSERT INTO api_keys SET api_key_name = '$name', api_key_secret = '$secret', api_key_decrypt_hash = '$apikey_specific_encryption_ciphertext', api_key_expire = '$expire', api_key_client_id = $client_id");