]> BookStack Code Mirror - bookstack/commit
Simplified guard names and rolled out guard route checks
authorDan Brown <redacted>
Sun, 2 Feb 2020 13:10:21 +0000 (13:10 +0000)
committerDan Brown <redacted>
Sun, 2 Feb 2020 13:10:21 +0000 (13:10 +0000)
commite6c6de0848caab863f410bbf9a74312392db9dcd
tree1a6529d2e8bad4ef24b568cdc139fd8c87aae84d
parent5d08ec3cef1d9a2a1c96f47371f94f0762a49075
Simplified guard names and rolled out guard route checks

- Included tests to cover for LDAP and SAML
- Updated wording for external auth id option.
- Updated 'assertPermissionError' test case to be usable in BrowserKitTests
17 files changed:
app/Config/auth.php
app/Http/Controllers/Auth/ForgotPasswordController.php
app/Http/Controllers/Auth/LoginController.php
app/Http/Controllers/Auth/RegisterController.php
app/Http/Controllers/Auth/ResetPasswordController.php
app/Http/Controllers/Auth/Saml2Controller.php
app/Http/Controllers/Auth/UserInviteController.php
app/Http/Kernel.php
app/Http/Middleware/CheckGuard.php [new file with mode: 0644]
app/Http/Middleware/PermissionMiddleware.php
resources/lang/en/settings.php
routes/web.php
tests/Api/ApiAuthTest.php
tests/Auth/LdapTest.php
tests/Auth/Saml2Test.php
tests/SharedTestHelpers.php
tests/TestCase.php