From ccd177ada6823c27a6408427f19c238fd701c39e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 6 Dec 2017 16:19:11 -0800 Subject: Store PHP sessions in the database --- app/Api/Procedure/MeProcedure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Api/Procedure/MeProcedure.php') diff --git a/app/Api/Procedure/MeProcedure.php b/app/Api/Procedure/MeProcedure.php index 5a64cdb3..3ccba0e1 100644 --- a/app/Api/Procedure/MeProcedure.php +++ b/app/Api/Procedure/MeProcedure.php @@ -12,7 +12,7 @@ class MeProcedure extends BaseProcedure { public function getMe() { - return $this->sessionStorage->user; + return session_get('user'); } public function getMyDashboard() -- cgit v1.2.3