paullik/dotophp — Issue #10: Reload fails when a module has login_need set to TRUE
Author: paullik
Created: 2012-01-01 17:19:06+00:00
State: open
Labels: being looked into

If I authenticate and as reload a module with login_need == TRUE is set then the reload process fails because the COOKIE is not sent yet because all these things happen in one HTTP request.

As a solution there could be setting a 'referrer' attribute into the returned array on the authentication module and on autologin.php I would need to check the referrer and if the referrer is 'login' then I could skip the cookie verification part to the DB session checking.