Re: [PATCH] Auth::changePassword
| From: | Cipriano Groenendal | Date: | Thu, 26 Feb 2004 13:13:39 +0000 |
| Subject: | Re: [PATCH] Auth::changePassword | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25882@lists.php.net to get a copy of this message | ||
> >I created a patch[1] for Auth that implements a changePassword function.
It
> >accepts two simple arguments(username, new password) and returns true,
> >false, or AUTH_METHOD_NOT_SUPPORTED. It's documented, commented, and
tested.
> >I also provided implementations for this method in all 4 containers that
> >currently support Adding/removing users. DB, File, MDB, and SMBPasswd.
All
> >worked fine in my test environment. The generic Container also implements
an
> >empty function that merely returns AUTH_METHOD_NOT_SUPPORTED, and Auth
> >itself implements a function that calls the Container's function. Each
> >function was added using the same CS and style as the other functions
around
> >it so they'll be easy to maintain by the curreny maintainers.
> I'll have a look at these over the week end.
Thanks. If it's easier for you, I also ahve them available as already
patched files? IIRC, that's what you prefered last time :)
> >Also, I noticed the docs for Auth[3] are somewhat outdated. THey don't
> >mention the new add/remove user functions, nor some of the other new
> >functions of the program. Could someone advise how I'd best proceed to
get
> >these added to the manual? :)
Would you like some help on the docs too? I noticed earlier there's already
a bugreport about the Auth-docs being outdated. I know most of the code well
enough by now to write them up for you :)
Cipri