diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2016-02-24 14:41:25 +0000 |
---|---|---|
committer | review.rocks <nobody@review.rocks> | 2016-02-24 14:41:25 +0000 |
commit | 33300673b7a6f79802f691ac121e720cb44c0dfc (patch) | |
tree | e093e52c405849706fc2b6d55cb74259eac2a64f /synapse/handlers | |
parent | Ignore invalid POST bodies when joining rooms (diff) | |
download | synapse-33300673b7a6f79802f691ac121e720cb44c0dfc.tar.xz |
Generate guest access token on 3pid invites
This means that following the same link across multiple sessions or devices can re-use the same guest account. Note that this is somewhat of an abuse vector; we can't throw up captchas on this flow, so this is a way of registering ephemeral accounts for spam, whose sign-up we don't rate limit.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/register.py | 15 | ||||
-rw-r--r-- | synapse/handlers/room.py | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py |