Add acceptable "permanent" ban time
This commit is contained in:
parent
0dfb68dba2
commit
b0a935b8b3
|
@ -46,7 +46,6 @@ class BanPolicy
|
||||||
{
|
{
|
||||||
Log::debug("Authorization check started", [
|
Log::debug("Authorization check started", [
|
||||||
'requiredRoles' => 'admin',
|
'requiredRoles' => 'admin',
|
||||||
'currentRoles' => $user->roles,
|
|
||||||
'hasRequiredRole' => $user->hasRole('admin'),
|
'hasRequiredRole' => $user->hasRole('admin'),
|
||||||
'targetUser' => $user->username,
|
'targetUser' => $user->username,
|
||||||
'isCurrentUser' => Auth::user()->is($user)
|
'isCurrentUser' => Auth::user()->is($user)
|
||||||
|
|
Loading…
Reference in New Issue