update
This commit is contained in:
parent
165f0a3d4a
commit
d32832fabc
@ -11,7 +11,7 @@ class DecideWhatToDoWithUser
|
|||||||
{
|
{
|
||||||
public function handle(Request $request, Closure $next): Response
|
public function handle(Request $request, Closure $next): Response
|
||||||
{
|
{
|
||||||
if (!auth()->user() || !isCloud()) {
|
if (!auth()->user() || !isCloud() || !auth()->user()->instanceAdmin()) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
if (!auth()->user()->hasVerifiedEmail()) {
|
if (!auth()->user()->hasVerifiedEmail()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user