Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide registration link if server doesn't support it #6847

Open
thegcat opened this issue Jun 6, 2018 · 7 comments
Open

Hide registration link if server doesn't support it #6847

thegcat opened this issue Jun 6, 2018 · 7 comments
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Enhancement X-Needs-Product More input needed from the Product team

Comments

@thegcat
Copy link

thegcat commented Jun 6, 2018

We're hosting our own Riot in conjunction with a Synapse that doesn't allow registrations. It would be nice to be able to hide the registration link from the login page in that case.

@lampholder
Copy link
Member

I think I'd rather this happened automatically based on the client's querying the server as to whether it allows registration (though this might require some rework of the login/registration UX to flow nicely).

@thegcat
Copy link
Author

thegcat commented Jun 7, 2018

I'd be ok with it being automatic too :-D I thought this was the path of least resistance for now :-)

@hex-m
Copy link

hex-m commented Sep 29, 2020

Element 1.7.8 has a new option to disable registration in the UI.

  "settingDefaults": {
    "UIFeature.registration": false
  }

@t3chguy
Copy link
Member

t3chguy commented Dec 3, 2020

Synapse PR matrix-org/synapse#8867 which enables the client to probe the capability

@t3chguy t3chguy changed the title Toggle to hide the registration link Hide registration link if server doesn't support it Jan 25, 2021
@MadLittleMods
Copy link
Contributor

MadLittleMods commented Mar 14, 2023

Registration can be disabled on the login page with the config mentioned by @hex-m.

Other create account actions that link to the registration page are still visible though. I've created a separate issue (#24814) to track this since the issue description just mentions the login page which is solved.

@t3chguy
Copy link
Member

t3chguy commented Mar 14, 2023

@MadLittleMods this issue is "if the server doesn't support it" not if config.json says so

@t3chguy t3chguy reopened this Mar 14, 2023
@weeman1337 weeman1337 added X-Needs-Product More input needed from the Product team S-Tolerable Low/no impact on users O-Occasional Affects or can be seen by some users regularly or most users rarely and removed P2 labels Aug 7, 2023
@weeman1337
Copy link
Contributor

  • O-Occasional because (new) users on a homeserver with registration disabled will see this
  • S-Tolerable because they will see a message in the next screen
  • X-Needs-Product because I think we should probably not just hide the button. Why not show a nice explanation screen? Thinking this from a perspective of a new user on a Matrix deployment: It currently only says „Registration disabled“. What should I do now? Better would be probably something „You cannot create an account by yourself on this homeserver. If you should have an account there, contact the support of your homeserver.“

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Enhancement X-Needs-Product More input needed from the Product team
Projects
None yet
Development

No branches or pull requests

7 participants