Home » Authentication » Auth » Bug #3223
When exactly is the login form callback called?
Details
| Request #3223 | When exactly is the login form callback called? |
|---|---|
| Submitted | 2005-01-17 20:09 UTC |
| From | rulatir at wp dot pl |
| Assigned | aashley |
| Status | Closed |
| Package | Auth |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-01-17 20:09 UTC] rulatir at wp dot pl
Description:
------------
The end-user documentation of the Auth package doesn't state explicitly when the callback gets called to emit the login form. In the constructor? In the start() method? In the getAuth() method? If I want a login box in each page's corner instead of a separate login screen then I must control when exactly the login form HTML is emitted, and I also wish I could check in advance if a user is logged in, so I could decide whether to emit the login form or a user preferences menu. With the current state of end-user docs it takes trial and error to see if what I want is possible with PEAR::Auth.
Reproduce code:
---------------
Not applicable.
[2006-09-11 03:42 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.
The updated method documentation should cover your requirements.