PEAR is archived and read-only

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

Home » Authentication » Auth » Bug #7421

constructor option allowLogin doesn't work

Details

Request #7421constructor option allowLogin doesn't work
Submitted2006-04-19 10:35 UTC
Fromphp at clemens dot brauers-weeze dot de
Assignedaashley
StatusClosed
PackageAuth
PHP Version4.4.2
OSAny
Roadmaps(Not assigned)

Comments

[2006-04-19 10:35 UTC] php at clemens dot brauers-weeze dot de

Description:
------------
If you transmit the option
$options['allowLogin'] = false;
it will be ignored because empty() says the attribute is not set.
Use isset() for checking instead.
file Auth.php, line 348
function applyAuthOptions()
Same would be for advancedsecurity but there false is default. (line 360)

[2006-08-10 03:01 UTC] aashley at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.