check container name at login

This commit is contained in:
Christopher 2020-10-24 00:04:21 +02:00
parent 0223bf0659
commit 30a076279b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
{
$apiKey = calcAPIKey($thisContainer);
if($apiKey == $_POST['accesskey'])
if($apiKey == $_POST['accesskey'] && trim(ltrim($container['Names']['0'], '/') == trim($_POST['containername']))
$container = $thisContainer;
}