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

Add allowCustomHomeservers config option #525

Merged
merged 2 commits into from
May 12, 2022

Conversation

ashhhleyyy
Copy link
Contributor

@ashhhleyyy ashhhleyyy commented May 7, 2022

Description

This adds a configuration option called allowCustomHomeservers, which prevents the Homeserver field on the login and register screens from being edited manually, only from the dropdown menu to the side. This is the same as the disable_custom_urls option for Element.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Preview: https://627930c80bdcec21a5a79ffa--pr-cinny.netlify.app
⚠️ Exercise caution. Use test accounts. ⚠️

@kfiven
Copy link
Collaborator

kfiven commented May 9, 2022

This also disable homeserver field when someone changes the value.

@ashhhleyyy
Copy link
Contributor Author

Whoops! That should be fixed now

@ajbura ajbura merged commit c08b0e6 into cinnyapp:dev May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants