From 5695fef46f7042bc8e286621b936ec26adc61fff Mon Sep 17 00:00:00 2001 From: db-bogdan Date: Mon, 27 Nov 2017 11:59:34 +0200 Subject: [PATCH] fixes #11468 --- lib/Cake/Controller/Component/AuthComponent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Controller/Component/AuthComponent.php b/lib/Cake/Controller/Component/AuthComponent.php index e21f6e085..a652e950a 100644 --- a/lib/Cake/Controller/Component/AuthComponent.php +++ b/lib/Cake/Controller/Component/AuthComponent.php @@ -298,6 +298,7 @@ class AuthComponent extends Component { } if ($this->_isAllowed($controller)) { + $this->_getUser(); return true; }