From 2b6e32117d7cacdb7252f92ee2b481db44c2228b Mon Sep 17 00:00:00 2001 From: Marcus Olsson Date: Fri, 22 Oct 2021 08:53:06 +0200 Subject: [PATCH] Add predefined env-keys --- src/config.stub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.stub b/src/config.stub index ac1fb2f..17f4f1d 100644 --- a/src/config.stub +++ b/src/config.stub @@ -5,10 +5,10 @@ */ return [ // Username - 'user' => 'admin', + 'user' => env('BASIC_AUTH_USERNAME', 'admin'), // Password - 'password' => '%password%', + 'password' => env('BASIC_AUTH_PASSWORD', '%password%'), // Environments where the middleware is active. Use "*" to protect all envs 'envs' => [