HttpAuthPlugin broken on trac-0.10.3
|Reported by:||Shawn||Owned by:||coderanger|
This plug-in works fine with 0.10 but broken under 0.10.3
By checking the code it seems that the method
# IAuthenticator methods def authenticate(self, req):
will be invoked prior to the method
# IRequestFilter methods def pre_process_request(self, req, handler):
So from the log, we can see use was authenticated successfully, but the authenticate method returns None.
My quick workaround is copy the autenticate code from pre_process_request to authenticate method and it works.