[eluser]Unknown[/eluser]
I have installed FreakAuth on my website and everything appears to be working. I use the isValidUser method to print a different menu for users that are logged in. This happens on every page that is displayed.
Whenever I login and navigate to any page within the website three times, the isValidUser method is no longer returning true and therefore shows the default menu.
My menu code looks like this:
Code:
<ul>
<li><?=anchor('home', 'Home')?></li>
<?php if (isValidUser()) { ?>
<li><?=anchor($this->config->item('FAL_changePassword_uri'), 'Manage')?></li>
<?php } else { ?>
<li><?=anchor($this->config->item('FAL_register_uri'), 'Register')?></li>
<?php } ?>
</ul>