From 1c15adc0c345ad87277c1c99e7d924f6c9c816f8 Mon Sep 17 00:00:00 2001 From: "andrea.terzani" Date: Thu, 17 Apr 2025 17:28:33 +0200 Subject: [PATCH] fix msg --- src/views/pages/auth/Callback.vue | 6 +++--- src/views/pages/auth/Login.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/pages/auth/Callback.vue b/src/views/pages/auth/Callback.vue index 109c0d4..86a1c68 100644 --- a/src/views/pages/auth/Callback.vue +++ b/src/views/pages/auth/Callback.vue @@ -38,18 +38,18 @@ onMounted(async () => { }).catch(res=>{ console.log("Error on token exchange:",res) - message.value = "Error authenticating on the application. Did you ask for authorization?" + message.value = "User not configured for this application. Contact the administrator for details." visible.value = true; }); }else{ - message.value = "Error authenticating on the application. Did you ask for authorization?" + message.value = "User not configured for this application. Contact the administrator for details." console.error("No token exchange with backend") } }).catch(res=>{ - message.value = "Error authenticating on the application. Did you ask for authorization?" + message.value = "User not configured for this application. Contact the administrator for details." }); diff --git a/src/views/pages/auth/Login.vue b/src/views/pages/auth/Login.vue index 6a47365..7e948b5 100644 --- a/src/views/pages/auth/Login.vue +++ b/src/views/pages/auth/Login.vue @@ -51,12 +51,12 @@ const loginAD = async () => { }).catch(res=>{ console.log("Error on token exchange:",res) - error.value = "Error authenticating on the application. Did you ask for authorization?" + error.value = "User not configured for this application. Contact the administrator for details." visible.value = true; }); }else{ - error.value = "Error authenticating on the application. Did you ask for authorization?" + error.value = "User not configured for this application. Contact the administrator for details." visible.value = true; console.error("No token exchange with backend") @@ -65,7 +65,7 @@ const loginAD = async () => { }).catch(res=>{ console.log("Error on token exchange:",res) - error.value = "Error authenticating on the application. Did you ask for authorization?" + error.value = "User not configured for this application. Contact the administrator for details." visible.value = true; });