Hi guys, i’m having a problem, when i log out from either frontend or backend, the other still remain log in. Have been searching online for the solutions but did not find anything like this. What should i change so that when i logout from frontend or backend, the other one will also log out. Log in is working fine for both
public function actionLogout()
{
Yii::$app->user->logout();
return $this->goHome();
}