mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
flake8
This commit is contained in:
parent
1b17d1a106
commit
8bfd01f619
1 changed files with 3 additions and 1 deletions
|
@ -606,7 +606,9 @@ class Auth(object):
|
||||||
user_id, as_user = yield self._get_appservice_user_id(request)
|
user_id, as_user = yield self._get_appservice_user_id(request)
|
||||||
if user_id:
|
if user_id:
|
||||||
request.authenticated_entity = user_id
|
request.authenticated_entity = user_id
|
||||||
defer.returnValue(synapse.types.create_requester(user_id, as_user=as_user))
|
defer.returnValue(
|
||||||
|
synapse.types.create_requester(user_id, as_user=as_user)
|
||||||
|
)
|
||||||
|
|
||||||
access_token = get_access_token_from_request(
|
access_token = get_access_token_from_request(
|
||||||
request, self.TOKEN_NOT_FOUND_HTTP_STATUS
|
request, self.TOKEN_NOT_FOUND_HTTP_STATUS
|
||||||
|
|
Loading…
Reference in a new issue