Skip to content

Commit

Permalink
Make Auth/Recaller handle serialized and unserialized cookies (larave…
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir authored and EspadaV8 committed Jan 28, 2021
1 parent a609a71 commit 2cec823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/Recaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Recaller
*/
public function __construct($recaller)
{
$this->recaller = $recaller;
$this->recaller = @unserialize($recaller, ['allowed_classes' => false]) ?: $recaller;
}

/**
Expand Down

0 comments on commit 2cec823

Please sign in to comment.