dimanche 3 juin 2018

Laravel database error after deployment

I deployed the laravel based website http://pakpoultry.pk

The error is that after successful login request redirect to instead of admin panel redirect back to the login page.

Actual Request Flow: Login → check role
If user role is admin then redirect to admin panel
else redirect to website user home page.

But current wrong flow is I cached:
Login → Redirect to admin panel → redirect back to login page.

I tested the user login successful, but why redirect loop i don't know.

Need your guidance to fix it.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire