This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Synapse doesn't require new_password
on every call to /account/password
, contrary to the spec. (But maybe this is a spec oversight?)
#13187
Labels
A-Spec-Compliance
places where synapse does not conform to the spec
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Link to problem area:
synapse/synapse/rest/client/account.py
Line 184 in 3ea5f1c
The spec says that
new_password
is a required field.However, this endpoint is part of the user-interactive auth stuff, and Synapse only requires you to have provided
new_password
at least once during a sequence of calls to/account/password
. If you've provided anew_password
as part of the user-interactive auth, you don't have to provide it with later requests.This is against the letter of the law as mandated by the spec (but perhaps not the spirit). This might also fall under the category of "user-interactive auth is weird; give us matrix-org/matrix-spec#636 please).
Noticed in #13183.
The text was updated successfully, but these errors were encountered: