From 2454c56cd7c944fcfb774bc1a1f26b2fadce4c95 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Tue, 21 Aug 2018 16:07:19 +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..3886575b895f 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, false) ?: $recaller; } /**