Fixing username sharing: tidy

This commit is contained in:
Marcus Hill 2023-01-28 21:35:55 +00:00
parent 64417d6fb4
commit 21cadf87f6
1 changed files with 2 additions and 2 deletions

View File

@ -114,11 +114,11 @@ if ($item_type == "Document") {
$username_iv = substr($row['item_encrypted_username'], 0, 16);
$username_ciphertext = substr($row['item_encrypted_username'], 16);
$login_username = openssl_decrypt($username_ciphertext, 'aes-128-cbc', $encryption_key,0, $username_iv);
$login_username = openssl_decrypt($username_ciphertext, 'aes-128-cbc', $encryption_key, 0, $username_iv);
$password_iv = substr($row['item_encrypted_credential'], 0, 16);
$password_ciphertext = substr($row['item_encrypted_credential'], 16);
$login_password = openssl_decrypt($password_ciphertext, 'aes-128-cbc', $encryption_key,0, $password_iv);
$login_password = openssl_decrypt($password_ciphertext, 'aes-128-cbc', $encryption_key, 0, $password_iv);
$login_otp = $login_row['login_otp_secret'];
$login_notes = htmlentities($login_row['login_note']);