mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some bug fixes.
This commit is contained in:
@@ -53,6 +53,7 @@ class PwndVerifierV2 implements Verifier
|
||||
*/
|
||||
public function validPassword(string $password): bool
|
||||
{
|
||||
// Yes SHA1 is unsafe but in this context its fine.
|
||||
$hash = sha1($password);
|
||||
$prefix = substr($hash, 0, 5);
|
||||
$rest = substr($hash, 5);
|
||||
|
Reference in New Issue
Block a user