Skip to content

Commit

Permalink
fixing sign in needing registration to be enabled
Browse files Browse the repository at this point in the history
- caused by the sign in flow using the registration homeserver validation, fixed by posting the sign in mode event directly
  • Loading branch information
ouchadam committed May 4, 2022
1 parent dcc20bb commit f42e6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5874.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes sign in via other requiring homeserver registration to be enabled
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class OnboardingViewModel @AssistedInject constructor(
when (awaitState().onboardingFlow) {
OnboardingFlow.SignIn -> {
updateSignMode(SignMode.SignIn)
internalRegisterAction(RegisterAction.StartRegistration, ::emitFlowResultViewEvent)
_viewEvents.post(OnboardingViewEvents.OnSignModeSelected(SignMode.SignIn))
}
OnboardingFlow.SignUp -> {
updateSignMode(SignMode.SignUp)
Expand Down

0 comments on commit f42e6c0

Please sign in to comment.