How to redirect backend users after login
0
\Event::listen('backend.user.login', function ($user) {
// This will run after login is successful
\Redirect::to(Backend::url('your/plugin/controller'))->send();
});
Simple and to the point. Optimized by the community.
\Event::listen('backend.user.login', function ($user) {
// This will run after login is successful
\Redirect::to(Backend::url('your/plugin/controller'))->send();
});
There are no comments yet
Be the first one to comment