Support the ongoing development of Laravel.io →
Authentication Security Requests
Last updated 4 months ago.
0

How does your postLogin look?

if ($this -> auth -> attempt($request -> only('email', 'password')))
{
	return redirect('/'); # redirect user here
}

You can redirect the user whereever you want. Or do I missunderstand your question?

0

solved with middleware that chack roles

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

ocraton ocraton Joined 18 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.