]> BookStack Code Mirror - bookstack/commit
Updated functionality for logging failed access
authorDan Brown <redacted>
Tue, 28 Jul 2020 11:59:43 +0000 (12:59 +0100)
committerDan Brown <redacted>
Tue, 28 Jul 2020 11:59:43 +0000 (12:59 +0100)
commit2ed031712918313b50483d22cf6735aed227dc06
tree5e26646c4c52c1f918f458feb70dc903f40a1579
parent2f6ff0734773c4ac009de699a2661971fd585b22
Updated functionality for logging failed access

- Added testing to cover.
- Linked logging into Laravel's monolog logging system and made log
channel configurable.
- Updated env var names to be specific to login access.
- Added extra locations as to where failed logins would be captured.

Related to #1881 and #728
.env.example.complete
app/Actions/ActivityService.php
app/Config/logging.php
app/Http/Controllers/Auth/LoginController.php
phpunit.xml
tests/Auth/AuthTest.php
tests/Auth/LdapTest.php
tests/Unit/ConfigTest.php