Skip to content

Improve M_LIMIT_EXCEEDED warning message on registration #28601

@SPiRiT369

Description

@SPiRiT369

Your use case

Current behaviour:

When a user creates several accounts from the same IP, the /register request returned by Synapse is:

{
"errcode":"M_LIMIT_EXCEEDED",
"error":"Too Many Requests",
"retry_after_ms":10148311
}

In this case, Element Web does not show a proper message to the user but instead: "Unable to query for supported registration methods.".

image

The change needed:

Element should display a proper message with a reason why registration is currently not allowed.

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Error-MessageA-RegistrationO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions