mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-04 02:04:12 -04:00
Fix style violations
Signed-off-by: Kent Shikama <kent@kentshikama.com>
This commit is contained in:
parent
2e5a31f197
commit
bb069079bb
2 changed files with 4 additions and 2 deletions
|
@ -358,7 +358,8 @@ class RegistrationHandler(BaseHandler):
|
|||
defer.returnValue(data)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def get_or_create_user(self, localpart, displayname, duration_seconds, password_hash=None):
|
||||
def get_or_create_user(self, localpart, displayname, duration_seconds,
|
||||
password_hash=None):
|
||||
"""Creates a new user if the user does not exist,
|
||||
else revokes all previous access tokens and generates a new one.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue