mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
* [FIX] Enforced salt length to 22 chars long.
This commit is contained in:
@@ -113,7 +113,7 @@ class Crypt
|
||||
$salt = Config::getConfig()->getPasswordSalt();
|
||||
}
|
||||
|
||||
return '$2y$07$' . substr($salt, 0, 21) . '$';
|
||||
return '$2y$07$' . substr($salt, 0, 22) . '$';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user