[ewiki] auth_perm_ring.php

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


Other related posts: