mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-09-18 23:44:33 -04:00
ensure post registration auth checks do not fail erroneously
This commit is contained in:
parent
3d6aa06577
commit
09f3cf1a7e
4 changed files with 24 additions and 6 deletions
|
@ -406,6 +406,10 @@ class RegisterRestServlet(RestServlet):
|
|||
generate_token=False,
|
||||
threepid=threepid,
|
||||
)
|
||||
# Necessary due to auth checks prior to the threepid being
|
||||
# written to the db
|
||||
if self.store.is_threepid_reserved(threepid):
|
||||
self.store.upsert_monthly_active_user(registered_user_id)
|
||||
|
||||
# remember that we've now registered that user account, and with
|
||||
# what user ID (since the user may not have specified)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue