From 9f01a602434b917add3e6be853e6b59d669bd34b Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 8 Jun 2015 10:00:29 +0200 Subject: [PATCH] Fix cookie retrieval in admin panel --- framework/core/src/Admin/Actions/IndexAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Admin/Actions/IndexAction.php b/framework/core/src/Admin/Actions/IndexAction.php index d576df37b..10e8dad67 100644 --- a/framework/core/src/Admin/Actions/IndexAction.php +++ b/framework/core/src/Admin/Actions/IndexAction.php @@ -1,10 +1,10 @@ actor->getUser()) && $user->exists) { $session = [ 'userId' => $user->id, - 'token' => Cookie::get('flarum_remember') + 'token' => FigRequestCookies::get($request, 'flarum_remember'), ]; $response = $this->apiClient->send('Flarum\Api\Actions\Users\ShowAction', ['id' => $user->id]);