In Yii2,I have in my config/main.php
'components' => [
'user' => [
'identityClass' => 'common\models\User',
'authTimeout' => 43200,
'loginUrl' => null,
],
...
]
when i am trying to see my authTimeout variable in my whole system is ok and everything works fine except my session get expire before authTimeout.I am using access_token for login because my frontend is angular and also using mdmsoft/yii2-admin for RBAC.
And i am not getting,why i am logging out before my authTimeout?
Thanks