mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Remove access-token support from RegistrationStore.register (#5642)
The 'token' param is no longer used anywhere except the tests, so let's kill that off too.
This commit is contained in:
parent
f281714583
commit
953dbb7980
9 changed files with 30 additions and 79 deletions
|
@ -325,7 +325,7 @@ class AuthTestCase(unittest.TestCase):
|
|||
unknown_threepid = {"medium": "email", "address": "unreserved@server.com"}
|
||||
self.hs.config.mau_limits_reserved_threepids = [threepid]
|
||||
|
||||
yield self.store.register(user_id="user1", token="123", password_hash=None)
|
||||
yield self.store.register_user(user_id="user1", password_hash=None)
|
||||
with self.assertRaises(ResourceLimitError):
|
||||
yield self.auth.check_auth_blocking()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue