From 9da2c148557a367feb8ee95f8d766557f6cdaf94 Mon Sep 17 00:00:00 2001
From: Marco Malavolti <marco.malavolti@gmail.com>
Date: Fri, 23 Jul 2021 18:57:58 +0200
Subject: [PATCH] Fixed web/eccs2.js

---
 web/eccs2.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/eccs2.js b/web/eccs2.js
index c7c146a..76e6e78 100644
--- a/web/eccs2.js
+++ b/web/eccs2.js
@@ -195,6 +195,9 @@ function getCheckResult(checkResult){
    else if (checkResult == "Timeout"){
       return '<div class="tooltip">Timeout <span class="tooltiptext tooltip-top tooltip-timeout">The IdP does not load a valid login page within 30 seconds</span></div> '+infoCircle;
    }
+   else if (checkResult == "Invalid-Form"){
+      return '<div class="tooltip">Invalid Form <span class="tooltiptext tooltip-top tooltip-invalid-form">The IdP does not load a valid login page</span></div> '+infoCircle;
+   }
    else if (checkResult == "Connection-Error"){
       return '<div class="tooltip">Connection Error <span class="tooltiptext tooltip-top tooltip-invalid-form">Check failed due a connection error</span></div> '+infoCircle;
    }
-- 
GitLab