Show More
@@ -167,6 +167,8 b' class SimpleGit(object):' | |||
|
167 | 167 | username = REMOTE_USER(environ) |
|
168 | 168 | try: |
|
169 | 169 | user = self.__get_user(username) |
|
170 | if user is None: | |
|
171 | return HTTPForbidden()(environ, start_response) | |
|
170 | 172 | username = user.username |
|
171 | 173 | except: |
|
172 | 174 | log.error(traceback.format_exc()) |
@@ -133,6 +133,8 b' class SimpleHg(object):' | |||
|
133 | 133 | username = REMOTE_USER(environ) |
|
134 | 134 | try: |
|
135 | 135 | user = self.__get_user(username) |
|
136 | if user is None: | |
|
137 | return HTTPForbidden()(environ, start_response) | |
|
136 | 138 | username = user.username |
|
137 | 139 | except: |
|
138 | 140 | log.error(traceback.format_exc()) |
General Comments 0
You need to be logged in to leave comments.
Login now