Merge pull request #5928 from vector-im/bugfix/adm/login-in-other
Fixing sign in via Other needing registration to be enabled
This commit is contained in:
commit
9c558f1f15
1
changelog.d/5874.bugfix
Normal file
1
changelog.d/5874.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixes sign in via other requiring homeserver registration to be enabled
|
@ -645,7 +645,7 @@ class OnboardingViewModel @AssistedInject constructor(
|
|||||||
when (awaitState().onboardingFlow) {
|
when (awaitState().onboardingFlow) {
|
||||||
OnboardingFlow.SignIn -> {
|
OnboardingFlow.SignIn -> {
|
||||||
updateSignMode(SignMode.SignIn)
|
updateSignMode(SignMode.SignIn)
|
||||||
internalRegisterAction(RegisterAction.StartRegistration, ::emitFlowResultViewEvent)
|
_viewEvents.post(OnboardingViewEvents.OnSignModeSelected(SignMode.SignIn))
|
||||||
}
|
}
|
||||||
OnboardingFlow.SignUp -> {
|
OnboardingFlow.SignUp -> {
|
||||||
updateSignMode(SignMode.SignUp)
|
updateSignMode(SignMode.SignUp)
|
||||||
|
Loading…
Reference in New Issue
Block a user