I seem to be having a strange problem.
I installed pfc 2.0.5. The example ran fine right away. I modified myBB templates to include the chat and that piece worked fine too.
But not whenever I load the page it always logs me in as the first person i have logged in with. The pop up to log in doesn't come up anymore and it always logs me in as the same user.
Also when i tried using the pfc.before.auth in config.local.php it doesn't change the user either. This is my config.local.php:
<?php
$GLOBALS['pfc_hooks']['pfc.before.auth'][1] = function ($app, $req, $res) {
return function () use ($app, $req, $res) {
return 'test';
};
};
I would think this would atleast log me in as "test" all the time.
Is there a cache that it is getting the log-in information from? Can I override it so that it always logs in me what I set as the pfc.before.auth hook?
Thanks,
Tko