This commit is contained in:
andrea.terzani
2025-04-17 17:28:33 +02:00
parent a07f9a7b1c
commit 1c15adc0c3
2 changed files with 6 additions and 6 deletions

View File

@@ -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."
});

View File

@@ -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;
});