diff --git a/vector/src/main/java/im/vector/app/features/login/LoginActivity.kt b/vector/src/main/java/im/vector/app/features/login/LoginActivity.kt index bf596fc6aa..499548ce78 100644 --- a/vector/src/main/java/im/vector/app/features/login/LoginActivity.kt +++ b/vector/src/main/java/im/vector/app/features/login/LoginActivity.kt @@ -252,7 +252,7 @@ open class LoginActivity : VectorBaseActivity(), UnlockedA // It depends on the LoginMode when (state.loginMode) { LoginMode.Unknown, - is LoginMode.Sso -> error("Developer error") + is LoginMode.Sso, is LoginMode.SsoAndPassword, LoginMode.Password -> addFragmentToBackstack(views.loginFragmentContainer, LoginFragment::class.java,