diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-20 17:10:10 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-20 17:10:10 +0100 |
commit | 225c244aba30ec7cc465395dc732785bc2969134 (patch) | |
tree | 3097406bf9bcae62e0d3c2d16476bb525764a59d /synapse/handlers | |
parent | Merge branch 'develop' into auth (diff) | |
download | synapse-225c244aba30ec7cc465395dc732785bc2969134.tar.xz |
Remove incorrect whitespace
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/register.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index c391c1bdf5..1adc3eebbb 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -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") |