fix: Disable registration for matrix.org
This commit is contained in:
parent
4cba249432
commit
2d3017e972
1 changed files with 7 additions and 1 deletions
|
|
@ -140,7 +140,13 @@ class HomeserverPickerView extends StatelessWidget {
|
||||||
if (controller.registrationSupported &&
|
if (controller.registrationSupported &&
|
||||||
controller.passwordLoginSupported)
|
controller.passwordLoginSupported)
|
||||||
SizedBox(width: 12),
|
SizedBox(width: 12),
|
||||||
if (controller.registrationSupported)
|
if (controller.registrationSupported &&
|
||||||
|
// Registration is broken on matrix.org
|
||||||
|
Matrix.of(context)
|
||||||
|
.client
|
||||||
|
.homeserver
|
||||||
|
.host !=
|
||||||
|
'matrix-client.matrix.org')
|
||||||
Expanded(
|
Expanded(
|
||||||
child: _LoginButton(
|
child: _LoginButton(
|
||||||
onPressed: controller.signUpAction,
|
onPressed: controller.signUpAction,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue