Home » Authentication » LiveUser » Bug #3207
auth-unfreeze-problem without perm container
Details
| Submitted | 2005-01-14 20:29 UTC |
|---|---|
| From | mw210 at gmx dot at |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.9 |
| Roadmaps | (Not assigned) |
Comments
[2005-01-14 20:29 UTC] mw210 at gmx dot at
Description:
------------
I tried to use Liveuser without Permission-Container.
Problem: Liveuser does not save the auth-State from page to page. I tried to locate the problem and I think this is a working solution:
File liveuser.php V 1.31
Line 1010
Solution: move line 1010 and 1011 above the if-Statement (to line 1007)
Lines to move:
$auth->backendArrayIndex = $_SESSION[$this->_options['session']['varname']]['auth_name'];
$this->_auth = &$auth;
With this solution the $this->_auth = &$auth; is always executed and not only with the perm-Statements.
[2005-01-14 23:44 UTC] smith at backendmedia dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.