Redirect all not authenticated web user to login page.
The preferred way to install this extension is through composer.
Either run
php composer.phar require dmitriikoziuk/yii2-web-backend-lock
or add
"dmitriikoziuk/yii2-web-backend-lock": "^0.1"
to the require section of your composer.json
file.