Probable bug in last FrontEndUsers
Posted: Sun Oct 13, 2013 12:14 am
After update to last FrontEndUsers 1.21.18 on 1.11.9 "Bartolome" I cant call LoggedInId() in one session with Login(u,p)
PHP Version 5.4.20
Check snippet:
If I call LoggedInId() in next www page update all ok, uid not false. Is this normal situation?
Bugtrack: http://dev.cmsmadesimple.org/bug/view/9590
P.S. I know that $res already has uid if login success.
PHP Version 5.4.20
Check snippet:
Code: Select all
$feu =& $this->GetModuleInstance('FrontEndUsers');
$res = $feu->Login( 'mylogin', 'mypswd' );
echo("res: ".var_export($res,1)."<br><br>");
$uid = $feu->LoggedInId();
echo("uid: ".var_export($uid,1)."<br><br>");
if ( $uid == false ) echo("Bug found...");
Bugtrack: http://dev.cmsmadesimple.org/bug/view/9590
P.S. I know that $res already has uid if login success.