summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
authorkali <kali@leap.se>2020-09-29 20:41:55 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-13 19:08:42 +0200
commit47ac0543b9ed2d4afb8814a19e2f4dc3c30030e1 (patch)
tree1634c42bebe7d8f59c7b56cb9800aba6ea4466f6 /gui/qml
parent2cf32806dcce2d41920be28bd0e7d12e5d049357 (diff)
[feat] improve error handling during login
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 80f8e7c..ce72fff 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -48,7 +48,7 @@ ApplicationWindow {
function showInitFailure(msg) {
console.debug("ERRORS:", ctx.errors)
if (msg == undefined) {
- if (ctx.errors == 'bad_auth_502') {
+ if (ctx.errors == 'bad_auth_502' || ctx.errors == 'bad_auth_timeout') {
msg = qsTr("Oops! The authentication service seems down. Please try again later")
initFailure.title = qsTr("Service Error")
}