On 10/3/05, Aaron Trevena <[EMAIL PROTECTED]> wrote:
> On 10/3/05, David Baird <[EMAIL PROTECTED]> wrote:
> > Maypole::call_authenticate() ends with this:
> >
> > $r->authenticate($r); # Interface consistency is a Good Thing
> >
> > Can we drop the ($r)? What's it there for?
>
> Will look into it - I don't see why you should pass $r as arguments 1
> and 2, what on earth would use the second one?
>
> Probably need to check the authentication modules that use it, but I
> imagine they'd all use the first $r.
>
Good point. Mp-P-Auth-USC recommends this in the synopsis:
sub authenticate {
my ($self, $r) = @_;
$r->get_user;
# etc.
There's probably a fair amount of code out there using it. Probably
best to leave it alone.
d.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel