After installiation in plugins system, you can change default config
[
'allowedIps' => ['127.0.0.1', '127.0.0.2'],
'users' => [
'admin' => '123456',
]
];
- Lajax for idea from [Yii2 Http Authentication] (https://github.com/lajax/yii2-http-auth) extension