You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
the isAdmin() function on the UsersTrait is causing a infinite loop while checking for permissions.
The solution is replace the $user->can('admin') with $user->hasPermission('admin')`
The text was updated successfully, but these errors were encountered:
the
isAdmin()
function on theUsersTrait
is causing a infinite loop while checking for permissions.The solution is replace the
$user->can('admin') with
$user->hasPermission('admin')`The text was updated successfully, but these errors were encountered: