diff --git a/webfrontend/index.php b/webfrontend/index.php index ade089d..2f7c365 100644 --- a/webfrontend/index.php +++ b/webfrontend/index.php @@ -1,17 +1,12 @@ - - + $lToken = preg_replace( '/[^0-9a-fA-F]/i', "", $pToken ); + if(strlen($lToken) != 16) { + $showFailure = true; + $failureMsg = "Please provide Token"; + } else { + $showLoginForm = true; + } + } +if ($isApi == false) { +?> +
@@ -161,6 +176,7 @@ +