Skip to content

Commit

Permalink
Merge pull request #22 from Joorren/patch-1
Browse files Browse the repository at this point in the history
Allow impersonating users with empty passwords
  • Loading branch information
SupianIDz authored Mar 10, 2024
2 parents 46949ed + 9e97fff commit 6a3e376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/SessionStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function flush() : bool
* @param string $password
* @return void
*/
public function setPasswordHash(string $password) : void
public function setPasswordHash(?string $password) : void
{
session()->put([
'password_hash_sanctum' => $password,
Expand Down

0 comments on commit 6a3e376

Please sign in to comment.