This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
The account validity admin route returns 200 OK even if the feature is turned off in the config #6128
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
z-bug
(Deprecated Label)
z-p2
(Deprecated Label)
There must be a
if not hs.config.account_validity.enabled: return
somewhere in one of the functions called (directly and indirectly) by the endpoint, which means that a call to/_synapse/admin/v1/account_validity/validity
will result in the same response as if the feature was enabled.The text was updated successfully, but these errors were encountered: