Home » Authentication » Auth » Bug #7421
constructor option allowLogin doesn't work
Details
| Request #7421 | constructor option allowLogin doesn't work |
|---|---|
| Submitted | 2006-04-19 10:35 UTC |
| From | php at clemens dot brauers-weeze dot de |
| Assigned | aashley |
| Status | Closed |
| Package | Auth |
| PHP Version | 4.4.2 |
| OS | Any |
| 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.