V
V
Vlad Avtomat2017-10-13 14:29:29
Laravel
Vlad Avtomat, 2017-10-13 14:29:29

How can one find an override of the unauthenticated method?

Laravel 5.4
Hello everyone! Who knows how to find a method that overrides the Laravel unauthenticatedclass method Installed the laravel Handler
adminLTE package and as I guess it is he who overrides the unauthenticated method in some place on the server Since the line I need from the class function does not work I can’t find ... Where can it be or what to write in the search code? Anyone have any ideas??? When I try to get to the page with the auth middleware, I just get the Unauthenticated message. on the debug page in app/Http/Kernel
return redirect()->guest(route('main-home'));
unauthenticatedHandler

'auth' => \Illuminate\Auth\Middleware\Authenticate::class,

Where it can break it that the unauthenticatedclass method App\Exceptions\Handledoes not reach?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin Malyarov, 2017-10-13
@Konstantin18ko

php artisan route:list
What does he say?

U
UksusoFF, 2017-10-13
@UksusoFF

Maybe it doesn't reach handle because Handler has dontReport?

V
Vlad Avtomat, 2017-10-17
@VladSavelev

Alas, no. Wrote my middleware.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question