Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faf3a0b6 authored by cketti's avatar cketti
Browse files

On authentication failures display message from server to the user

parent 7e5022ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ class AccountSetupCheckSettings : K9Activity(), ConfirmationDialogFragmentListen
                finish()
            } catch (e: AuthenticationFailedException) {
                Timber.e(e, "Error while testing settings")
                showErrorDialog(R.string.account_setup_failed_dlg_auth_message_fmt, e.message.orEmpty())
                showErrorDialog(R.string.account_setup_failed_dlg_auth_message_fmt, e.messageFromServer.orEmpty())
            } catch (e: CertificateValidationException) {
                handleCertificateValidationException(e)
            } catch (e: Exception) {