mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
ignoring inferred registration disabled when going through the sign in flow
This commit is contained in:
parent
2ab2af90e9
commit
84ece3b575
2 changed files with 2 additions and 1 deletions
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…
Add table
Reference in a new issue