]> BookStack Code Mirror - bookstack/commit
Performed review of "public intended" functionality provided in #1817
authorDan Brown <redacted>
Sat, 14 Mar 2020 18:29:31 +0000 (18:29 +0000)
committerDan Brown <redacted>
Sat, 14 Mar 2020 18:29:31 +0000 (18:29 +0000)
commit7f6cbead333415c9ead093827942a0e08116847a
tree42b10354999d86930b738f4fce123f5682654aa2
parenta95588dc2ea1d382b2a9533fbea7cc2b9adadd43
Performed review of "public intended" functionality provided in #1817

- Updated logic to take url from referrer rather than pass as a query parameter.
- Added tests to cover functionality.
- Updated 404 page with login action button if not signed in.
- Updated 404 page with text to indicate permissions may be affecting visibility.

Related to #1817 and #1706
app/Http/Controllers/Auth/LoginController.php
resources/lang/en/errors.php
resources/views/common/header.blade.php
resources/views/errors/404.blade.php
tests/PublicActionTest.php