0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-30 08:28:19 +02:00

Fix indentation

This commit is contained in:
Daniel Wagner-Hall 2015-08-20 17:26:52 +01:00
parent ea570ffaeb
commit 8c74bd8960

View file

@ -321,7 +321,8 @@ class AuthHandler(BaseHandler):
macaroon = pymacaroons.Macaroon(
location=self.hs.config.server_name,
identifier="key",
key=self.hs.config.macaroon_secret_key)
key=self.hs.config.macaroon_secret_key
)
macaroon.add_first_party_caveat("gen = 1")
macaroon.add_first_party_caveat("user_id = %s" % (user_id,))
macaroon.add_first_party_caveat("type = access")