PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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:
--------------
-