Show More
@@ -284,7 +284,7 class hgweb(object): | |||
|
284 | 284 | |
|
285 | 285 | allow_read = self.configlist('web', 'allow_read') |
|
286 | 286 | result = (not allow_read) or (allow_read == ['*']) |
|
287 | if not result or user in allow_read: | |
|
287 | if not (result or user in allow_read): | |
|
288 | 288 | raise ErrorResponse(HTTP_UNAUTHORIZED, 'read not authorized') |
|
289 | 289 | |
|
290 | 290 | if op == 'pull' and not self.allowpull: |
General Comments 0
You need to be logged in to leave comments.
Login now