I turned on the Remember me field and set the duration to one month
Yii::$app->user->login($this->getUserById($userId), $rememberMe == true ? 2629746 : 0);
but that doesn't work. The website logs out after an hour of inactivity
I turned on the Remember me field and set the duration to one month
Yii::$app->user->login($this->getUserById($userId), $rememberMe == true ? 2629746 : 0);
but that doesn't work. The website logs out after an hour of inactivity
Copyright © 2021 Jogjafile Inc.