I'm trying to write an authentication plugin but when I switch to it from the ACP nobody can log-in anymore at all.
Trying to trace through the code I found that my __construct method is indeed being called but nothing else is called (not init, not login).
I tried to enable debug logs by adding these to config.php and deleting cache:
But I get absolutely nothing in the footer, not a single line.
Would really appreciate any ideas.
EDIT: Apparently login is called only if validate_session returns true, I'd appreciate an explanation why that happens.
Now I have an issue of autologin never being called...\