mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Merge pull request #6372 from vector-im/bugfix/adm/wrong-error-on-sign-in
Fixing wrong error message when signing in with wrong credentials
This commit is contained in:
commit
c7881fc55e
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