I am trying to log out user automatically in yii2 after he is idle for a fixed seconds  .
In web.php I added 
'user' => [
            'identityClass' => 'app\models\User',
            'enableAutoLogin' => true,
            'authTimeout'=>100
        ],
inside components . I am using basic template. But it is not logging out automatically. Does this work in Yii2? I was following documentation from http://www.yiiframework.com/doc-2.0/yii-web-user.html
 
     
     
     
     
     
     
     
    