langleyfoxall / laravel-boilerplate

Boilerplate for Laravel with common tools/plugins for ease of development.
MIT License
2 stars 4 forks source link

Protect logs route #5

Closed DivineOmega closed 6 years ago

DivineOmega commented 6 years ago

This PR protects the /logs route, which is currently exposed, using basic authentication. The username and password should be specified in the .env file, as in the following example.

LOGS_USERNAME=logs
LOGS_PASSWORD=i0oypn7*YYWPGv5fJf*r