From cef0f9f9c27df86386c13d8957a638ec482ec67c Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Thu, 23 Aug 2018 02:52:13 +0200 Subject: [PATCH] Make Auth/Recaller handle serialized and unserialized cookies --- src/Illuminate/Auth/Recaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/Recaller.php b/src/Illuminate/Auth/Recaller.php index 4545a3bcf258..5809f1e8dded 100644 --- a/src/Illuminate/Auth/Recaller.php +++ b/src/Illuminate/Auth/Recaller.php @@ -21,7 +21,7 @@ class Recaller */ public function __construct($recaller) { - $this->recaller = $recaller; + $this->recaller = @unserialize($recaller, ['allowed_classes' => false]) ?: $recaller; } /**