Fix auth check for /viewer

This commit is contained in:
Alex Thomassen 2023-12-19 22:10:45 +00:00
parent 2dfa4cd53e
commit 64fd2596e7
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE

View File

@ -13,7 +13,7 @@ class ViewerRequest extends FormRequest
*/
public function authorize(): bool
{
if (Auth::check()) {
if (!Auth::check()) {
return false;
}