diff options
author | David Florness <david@florness.com> | 2020-12-02 10:01:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 10:01:15 -0500 |
commit | c4675e1b24f06a72c323c8131eab4998b4e71af1 (patch) | |
tree | 6a559757e73585885a093003f9ac67ada9dc3319 /changelog.d | |
parent | Minor changes to the CHANGES doc. (diff) | |
download | synapse-c4675e1b24f06a72c323c8131eab4998b4e71af1.tar.xz |
Add additional validation for the admin register endpoint. (#8837)
Raise a proper 400 error if the `mac` field is missing.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8837.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8837.bugfix b/changelog.d/8837.bugfix new file mode 100644 index 0000000000..b2977d0c31 --- /dev/null +++ b/changelog.d/8837.bugfix @@ -0,0 +1 @@ +Fix a long standing bug in the register admin endpoint (`/_synapse/admin/v1/register`) when the `mac` field was not provided. The endpoint now properly returns a 400 error. Contributed by @edwargix. |