Re: Pear Auth allows logins from all auth pages?

From: Date: Fri, 16 Jan 2004 07:54:56 +0000
Subject: Re: Pear Auth allows logins from all auth pages?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25092@lists.php.net to get a copy of this message
Matt Eaton schrieb:
Would an acceptible fix be: function start() {
       $this->assignData();
       @session_start();
       if (!$this->checkAuth() && $this->showLogin) {
           $this->login();
       }
} (This checks if showLogin is set before attempting the log in).
This would break bc. Some sites use this feature to have login form and Auth on different pages. Maybe you could try to extend the Auth object and integrate a logging function for your case. Mike

« previous php.pear.dev (#25092) next »