From 07b6eeed2e5a12a43e343363eeb1a8830a286bf1 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Mon, 18 May 2015 22:23:41 +0200 Subject: [PATCH] Removed authentication feature --- webfrontend/index.php | 73 ++++++++++++++++++++++++++++--------------- 1 file changed, 47 insertions(+), 26 deletions(-) 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 @@ +
@@ -180,3 +196,8 @@ +