Home » Authentication » Auth » Bug #2130
Typo in Auth.php
Details
| Submitted | 2004-08-16 09:10 UTC |
|---|---|
| From | stephan at wentz dot it |
| Assigned | yavo |
| Status | Closed |
| Package | Auth |
| PHP Version | 4.3.8 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-08-16 09:10 UTC] stephan at wentz dot it
Description:
------------
Just downloaded Auth-1.3.0-r2 and found this on line 296 of Auth.php:
if (!empty($options['allowLogin'])) {
$this->_sessionName = $options['sessionName'];
unset($options['sessionName']);
}
Shouldn't this be
if (!empty($options['allowLogin'])) {
$this->_allowLogin = $options['allowLogin'];
unset($options['allowLogin']);
}
? Looks like a typical copy&paste error ;-)
Reproduce code:
---------------
-
Expected result:
----------------
-
Actual result:
--------------
-