[ewiki] auth_perm_ring.php
- From: "Daniel P. Stasinski" <mooooooo@xxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Sun, 04 Jan 2004 21:31:25 -0700
Had to make a small fix to auth_perm_ring.php
{
$required_ring = $ring;
break; #- break required here
}
I have not tested anything other than auth_method_http.php, but in order
to get it to function logically, I had to kill a few lines in
ewiki.php. The problem was that if someone entered an invalid
login/password, they would have to close the browser completely in order
to get the auth dialog again. I didn't think it was necessary to fetch
the user name if the perms for the page have not been checked yet. I do
not know if this breaks any other auth module, but it problably would
not.
/*
#-- nobody is currently logged in, so try to fetch username,
# the login <form> is not yet enforced
if ($pf_login && empty($ewiki_auth_user)) {
$pf_login($data, 0);
}
*/
Users without CVS access get updates about 8-24 hours after a commit has
been made so I cannot test the latest till tomorrow.
Thanks,
Daniel
--
Daniel P. Stasinski
http://www.disabilities-r-us.com
mooooooo@xxxxxxxxxxxxxxxxxxxxx
- Follow-Ups:
- [ewiki] Re: auth_perm_ring.php
- From: Mario Salzer
Other related posts:
- » [ewiki] auth_perm_ring.php
- » [ewiki] Re: auth_perm_ring.php
- [ewiki] Re: auth_perm_ring.php
- From: Mario Salzer