A
A
AleDv2016-07-11 18:44:16
Laravel
AleDv, 2016-07-11 18:44:16

Why can I kick SleepingOwl from the admin panel?

Given: Laravel 5.2, SleepingOwl + Sentinel admin system. The system is divided into an admin panel and a personal account for ordinary users.
The problem is that the admin panel often logs out for the user. But if I immediately go to the client side, then I see that I am actually authorized. But when you try to enter the admin panel again, the script does not see the logged in user.
Those. the admin is authorized, but the admin panel does not see it. If you make a forced logout and log in again, then everything works correctly.
In what there can be a problem - I do not understand.
Admin/non-admin implemented with roles via Sentinel. I don't know how clearly I could explain.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ablizin, 2016-07-11
@mcmraak

Look here a kind person wrote about it in the blog, maybe it will help Link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question