Skip to content

Commit

Permalink
Make Auth/Recaller handle serialized and unserialized cookies (#25301)
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir authored and taylorotwell committed Aug 23, 2018
1 parent 850b753 commit e0cf3df
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 e0cf3df

Please sign in to comment.