Skip to content

Commit

Permalink
Merge pull request #5928 from vector-im/bugfix/adm/login-in-other
Browse files Browse the repository at this point in the history
Fixing sign in via Other needing registration to be enabled
  • Loading branch information
bmarty authored May 4, 2022
2 parents 78af67e + f42e6c0 commit 9c558f1
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 9c558f1

Please sign in to comment.