M
M
Mini MVC2016-11-10 12:01:40
Laravel
Mini MVC, 2016-11-10 12:01:40

Where can I find AuthController in Laravel 5.3?

Help please, I can't find AuthController?
I want to do so, if I am logged in as an admin, then I am thrown to the admin page, and if as a regular user, then to the main one. And how can this be implemented in Laravel 5.3?
Did I understand correctly that AuthController is located in app/Http/Controllers/Auth/LoginController?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mini MVC, 2016-11-10
@alleroy

but I figured it out, if anyone needs it, then you need to go to the app/Http/Controllers/Auth/LoginController folder and just change where:
to
protected $redirectTo = '/admin';

S
Stanislav Pochepko, 2016-11-10
@DJZT

It is now split into multiple controllers
https://github.com/laravel/laravel/tree/master/app...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question