ignoring inferred registration disabled when going through the sign in flow
This commit is contained in:
parent
2ab2af90e9
commit
84ece3b575
1
changelog.d/6371.bugfix
Normal file
1
changelog.d/6371.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fixes wrong error message when signing in with wrong credentials
|
@ -286,7 +286,7 @@ class FtueAuthLoginFragment @Inject constructor() : AbstractSSOFtueAuthFragment<
|
||||
throwable.isWeakPassword() || throwable.isInvalidPassword() -> {
|
||||
views.passwordFieldTil.error = errorFormatter.toHumanReadable(throwable)
|
||||
}
|
||||
throwable.isRegistrationDisabled() -> {
|
||||
isSignupMode && throwable.isRegistrationDisabled() -> {
|
||||
MaterialAlertDialogBuilder(requireActivity())
|
||||
.setTitle(R.string.dialog_title_error)
|
||||
.setMessage(getString(R.string.login_registration_disabled))
|
||||
|
Loading…
x
Reference in New Issue
Block a user