From 0c0269cbe8b2f9497edd6be35b5593392ed4a061 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 24 Oct 2020 00:14:44 +0200 Subject: [PATCH] remove apikey --- classen/helper.php | 6 ------ pages/dashboard.php | 1 - 2 files changed, 7 deletions(-) diff --git a/classen/helper.php b/classen/helper.php index ad50730..dab804a 100644 --- a/classen/helper.php +++ b/classen/helper.php @@ -7,10 +7,4 @@ function clean($string) return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string); } -function calcAPIKey($container) -{ - global $RUNTIME; - - return md5($container['Id']); -} ?> \ No newline at end of file diff --git a/pages/dashboard.php b/pages/dashboard.php index 53b070a..9e28147 100644 --- a/pages/dashboard.php +++ b/pages/dashboard.php @@ -27,7 +27,6 @@ if(isset($_SESSION['LOGIN'])) $HTML->importHTML("style/default/dashboard.html"); $HTML->ReplaceLayoutInhalt("%%ContainerName%%", trim(ltrim($container['Names']['0'], '/'))); - $HTML->ReplaceLayoutInhalt("%%UserAPIKey%%", calcAPIKey($container)); $HTML->ReplaceLayoutInhalt("%%ContainerLogOutput%%", html_entity_decode(clean($logOutput))); $HTML->ReplaceLayoutInhalt("%%STATUS%%", html_entity_decode($container['Status']));