Fix auth check for /viewer
This commit is contained in:
parent
2dfa4cd53e
commit
64fd2596e7
@ -13,7 +13,7 @@ class ViewerRequest extends FormRequest
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
if (Auth::check()) {
|
||||
if (!Auth::check()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user