equal
deleted
inserted
replaced
77 if not login: |
77 if not login: |
78 raise NoAuthInfo() |
78 raise NoAuthInfo() |
79 return login, {'password': password} |
79 return login, {'password': password} |
80 |
80 |
81 def request_has_auth_info(self, req): |
81 def request_has_auth_info(self, req): |
82 return '__login' in req.form |
82 return req.get_authorization()[0] is not None |
83 |
83 |
84 def revalidate_login(self, req): |
84 def revalidate_login(self, req): |
85 return req.get_authorization()[0] |
85 return req.get_authorization()[0] |
86 |
86 |
87 class RepositoryAuthenticationManager(AbstractAuthenticationManager): |
87 class RepositoryAuthenticationManager(AbstractAuthenticationManager): |