remove apikey

This commit is contained in:
Christopher 2020-10-24 00:14:44 +02:00
parent 83384c1472
commit 0c0269cbe8
2 changed files with 0 additions and 7 deletions

View File

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

View File

@ -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']));