From b0a935b8b383168243ea0029e3995951d8a91b7c Mon Sep 17 00:00:00 2001 From: Miguel N Date: Tue, 8 Sep 2020 00:06:27 +0100 Subject: [PATCH] Add acceptable "permanent" ban time --- app/Policies/BanPolicy.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Policies/BanPolicy.php b/app/Policies/BanPolicy.php index fff0ee4..e252976 100644 --- a/app/Policies/BanPolicy.php +++ b/app/Policies/BanPolicy.php @@ -46,7 +46,6 @@ class BanPolicy { Log::debug("Authorization check started", [ 'requiredRoles' => 'admin', - 'currentRoles' => $user->roles, 'hasRequiredRole' => $user->hasRole('admin'), 'targetUser' => $user->username, 'isCurrentUser' => Auth::user()->is($user)