PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth » Bug #2130

Typo in Auth.php

Details

Submitted2004-08-16 09:10 UTC
Fromstephan at wentz dot it
Assignedyavo
StatusClosed
PackageAuth
PHP Version4.3.8
OSLinux
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:
--------------
-