Probable bug in last FrontEndUsers

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
kembl
Forum Members
Forum Members
Posts: 16
Joined: Wed Feb 22, 2012 9:13 pm

Probable bug in last FrontEndUsers

Post by kembl »

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:

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...");

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.
Post Reply

Return to “Modules/Add-Ons”