forked from MirrorHub/synapse
Fix indentation
This commit is contained in:
parent
ea570ffaeb
commit
8c74bd8960
1 changed files with 2 additions and 1 deletions
|
@ -321,7 +321,8 @@ class AuthHandler(BaseHandler):
|
||||||
macaroon = pymacaroons.Macaroon(
|
macaroon = pymacaroons.Macaroon(
|
||||||
location=self.hs.config.server_name,
|
location=self.hs.config.server_name,
|
||||||
identifier="key",
|
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("gen = 1")
|
||||||
macaroon.add_first_party_caveat("user_id = %s" % (user_id,))
|
macaroon.add_first_party_caveat("user_id = %s" % (user_id,))
|
||||||
macaroon.add_first_party_caveat("type = access")
|
macaroon.add_first_party_caveat("type = access")
|
||||||
|
|
Loading…
Reference in a new issue