Because $authUser is passed to the view in AppController::initialize(), this automatic login says that the user is logged in, but the page that's presented to the user reflects that they're not. This could be fixed by redirecting to the home page after the user is logged in.
Because
$authUser
is passed to the view inAppController::initialize()
, this automatic login says that the user is logged in, but the page that's presented to the user reflects that they're not. This could be fixed by redirecting to the home page after the user is logged in.