Cleanup
This commit is contained in:
@ -192,7 +192,7 @@ class Login
|
||||
protected function cryptoJs_aes_decrypt($data, $key): string
|
||||
{
|
||||
$data = base64_decode($data);
|
||||
if (substr($data, 0, 8) != "Salted__") {
|
||||
if (!str_starts_with($data, "Salted__")) {
|
||||
return false;
|
||||
}
|
||||
$salt = substr($data, 8, 8);
|
||||
|
Reference in New Issue
Block a user