Show More
@@ -60,6 +60,7 b' class AuthHeaderRequired:' | |||||
60 | request = fargs[1] |
|
60 | request = fargs[1] | |
61 | auth = request.authorization |
|
61 | auth = request.authorization | |
62 | if not auth: |
|
62 | if not auth: | |
|
63 | log.debug('No auth header found, returning 403') | |||
63 | return write_response_error(HTTPForbidden) |
|
64 | return write_response_error(HTTPForbidden) | |
64 | return func(*fargs[1:], **fkwargs) |
|
65 | return func(*fargs[1:], **fkwargs) | |
65 |
|
66 |
General Comments 0
You need to be logged in to leave comments.
Login now