Closed eugenem closed 3 years ago
The panel itself is not responsible for authorization
one of these days I will try to check your case, maybe I will help
I've managed somehow to fix it, almost. With custom DB session handler, and some other weird stuff. Didn't understand by myself how. Now it's working more or less, but sometimes still throws me out of the admin, and hard reload gets me back. Need to debug it further...
It's probably not related to admin at all, just to non-standard guard.
It seems to be related to service worker caching. After disabling the cache there, seems to work fine...
composer.json:
sleeping_owl.php:
auth.php:
admin.php
It's all working great with file sessions, but once I switch to DB sessions, I can get to the admin dashboard, and at reload, it throws me back to login.
Regular logins work fine (not to admin).
What am I missing?