Redirect to referrer not working after Login
问题 After logging a user in, I want to redirect them back to where they came from but It's not working properly in CakePHP 3.5. Here are the required info's to help me figure out this problem. URL while login(session time out), http://dev.scys.com/db/admin?redirect=%2Fadmin%2Fstatuses This is my Auth config, $this->loadComponent('Auth', [ 'loginAction' => ['controller' => 'Admins', 'action' => 'login'], 'loginRedirect' => ['controller' => 'Admins', 'action' => 'index'], 'logoutRedirect' => [