Accessing activation on the interface Illuminate\Contracts\Auth\Authenticatable suggest that you code against a concrete implementation. How about adding an instanceof check?
Loading history...
19
return $next($request);
20
} else {
21
abort(403, 'You need to activate you account first to access this part');