• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 2.x Branch ‹ General Support (v2.x)
  • Change font size
  • FAQ
  • Register
  • Login

can't change login

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

can't change login

Postby Tko » Sat Jan 05, 2013 7:44 pm

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
Tko
New member
 
Posts: 3
Joined: Mon Dec 31, 2012 3:12 pm
Top

Re: can't change login

Postby rick001 » Sat Jan 12, 2013 9:20 pm

yes there is a cache, simple clear ur browser cache and the login will be visible again
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top


Post a reply
2 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub