Skip to content

Commit b8a9ddb

Browse files
committed
this password is already hashed in the database
1 parent b00ee3c commit b8a9ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AmpacheApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function connect()
146146
$results = array();
147147
$timestamp = time();
148148

149-
$key = hash('sha256', $this->password);
149+
$key = hash('sha256', $this->password); // this password is already hashed
150150
$passphrase = hash('sha256', $timestamp . $key);
151151

152152
$options = array(

0 commit comments

Comments
 (0)