Re: [patch] Auth: patch allowing usage of 'custom' form fieldnames for username & password
| From: | Moritz Heidkamp | Date: | Wed, 10 Mar 2004 22:08:46 +0000 |
| Subject: | Re: [patch] Auth: patch allowing usage of 'custom' form fieldnames for username & password | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26267@lists.php.net to get a copy of this message | ||
Cipriano Groenendal wrote:
Hi, I don't want to be nitpicking but actually it was my contribution instead of Mike's. Don't know how it got mixed up. Nevermid :DI created a patch for the Auth package to support 'custom' form fieldnames for username & password instead of the fixed 'username' and 'password' Added 2 functions (setUsernameField and setPasswordField) to set the custom values if desired.Hello :) First of all, your patch didn't come through. Judging form your HTML mail, you're using Outlook Express, which has a n asty little bug which means you need to rename your patch file to .txt or it won't be accepted by the mailing list. Second, the change you have in your patch was recently added to the CVS already after a patch from Michael Wallner mike@php.net, see the CVS[1] for details of the file. This patch set those two options using the $options array via the constructor, IIRC. However it might indeed also be a nice idea to have setters/getters for these two fields. Thanks for your ideas and wishing to contribute to PEAR however! I'm sure Yavor/The other Devs will take a look at your patch and perhaps integrate the things it does better then Mike's patch into the package :)