FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17831&edit=1

ID: 17831
Updated by: php@adamashley.name
Reported By: Hartmut dot Wilhelms at arcor dot de
Summary: start does not return drawLogin's return value
Status: Open
Type: Feature/Change Request
Package: Auth
Operating System: Windows Vista
Package Version: 1.6.2
PHP Version: 5.2.10
Roadmap Versions:
New Comment:

At this stage in the life of the Auth package an BC break like this one
is highly unlikely to occur.


Previous Comments:
------------------------------------------------------------------------

[2010-08-29 10:40:09] mauz

Description:
------------
I expect my drawLogin Function, which is called in Auth::login to return
the loginForms HTML-Code instead of printing it.
Unfortunately this values are not returned from Auth::start()

I suggest following code change to Auth::start():

$this->assignData();
if (!$this->checkAuth() && $this->allowLogin) {
return $this->login(); <=== here is the added 'return'
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 29, '10 at 12:30p
activeAug 29, '10 at 12:30p
posts1
users1
websitepear.php.net

1 user in discussion

Php: 1 post

People

Translate

site design / logo © 2022 Grokbase