Skip to content
Snippets Groups Projects
Commit 225c244a authored by Daniel Wagner-Hall's avatar Daniel Wagner-Hall
Browse files

Remove incorrect whitespace

parent 4e706ec8
No related branches found
No related tags found
No related merge requests found
......@@ -275,9 +275,9 @@ class RegistrationHandler(BaseHandler):
def generate_token(self, user_id):
macaroon = pymacaroons.Macaroon(
location = self.hs.config.server_name,
identifier = "key",
key = self.hs.config.macaroon_secret_key)
location=self.hs.config.server_name,
identifier="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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment