Add acceptable "permanent" ban time

This commit is contained in:
Miguel Nogueira 2020-09-08 00:06:27 +01:00
parent 0dfb68dba2
commit b0a935b8b3

View File

@ -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)