Re: Pear Auth allows logins from all auth pages?
| From: | Yavor Shahpasov | Date: | Fri, 16 Jan 2004 18:28:35 +0000 |
| Subject: | Re: Pear Auth allows logins from all auth pages? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25107@lists.php.net to get a copy of this message | ||
I don't see how this is BC break. I actually think this is a good idea.
Some sites use this feature to have login form and Auth on different pages.those pages should have showLogin enabled. I'll be submiting this patch to cvs, if someone else things this is a BC break speak now or forever hold his breath. Yavor Michael Haertl wrote:
Matt Eaton schrieb:Would an acceptible fix be: function start() {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$this->assignData();@session_start();if (!$this->checkAuth() && $this->showLogin) { $this->login(); }} (This checks if showLogin is set before attempting the log in).