Skip to content

Commit

Permalink
Merge pull request #55 from olssonm/dev/password-update
Browse files Browse the repository at this point in the history
Add predefined env-keys
  • Loading branch information
olssonm authored Oct 22, 2021
2 parents a8575d7 + 2b6e321 commit a34f992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit a34f992

Please sign in to comment.