Skip to content

Conversation

@ouchadam
Copy link
Contributor

@ouchadam ouchadam commented May 4, 2022

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Fixes #5874

  • Caused by the sign in flow using the registration homeserver validation, fixed by posting the sign in mode event directly

Will add a test case in a separate PR to help speed this up

Motivation and context

To fix a regression in the onboarding sign in that causes sign in via Other to fail if the homeserver has registration disabled

Screenshots / GIFs

Other

Before After
before-other-sign-in after-other-sign-in

Matrix.org (no changes)

Before After
before-matrix-sign-in after-matrix-sign-in

Tests

  • Have a homeserver with registration disabled
  • Attempt to sign in via Other
  • Notice sign in denied due to homeserver requiring registration

Tested devices

  • Physical
  • Emulator
  • OS version(s): 29

- caused by the sign in flow using the registration homeserver validation, fixed by posting the sign in mode event directly
@ouchadam ouchadam added the Z-FTUE Issue is relevant to the first time use project or experience label May 4, 2022
@ouchadam ouchadam requested review from a team, Claire1817 and mnaturel and removed request for a team May 4, 2022 10:40
@ouchadam ouchadam added PR-Small PR with less than 20 updated lines Z-NextRelease For issues and PRs which should be included in the NextRelease. labels May 4, 2022
@github-actions
Copy link

github-actions bot commented May 4, 2022

Unit Test Results

122 files  122 suites   2m 20s ⏱️
205 tests 205 ✔️ 0 💤 0
690 runs  690 ✔️ 0 💤 0

Results for commit f42e6c0.

Copy link
Contributor

@mnaturel mnaturel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not tested it but code looks good and with the screenshots I see the bug is no more present.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-Small PR with less than 20 updated lines Z-FTUE Issue is relevant to the first time use project or experience Z-NextRelease For issues and PRs which should be included in the NextRelease.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signin does not work on server with registration disabled

4 participants