Add missing csrf_token when adding new container

This commit is contained in:
bergware
2018-04-12 00:05:52 +02:00
parent 035086229e
commit d6caf03fc8
@@ -1106,6 +1106,7 @@ optgroup.title{background-color:#625D5D;color:#FFFFFF;text-align:center;margin-t
<div id="canvas">
<form method="POST" autocomplete="off" onsubmit="prepareConfig(this)">
<input type="hidden" name="csrf_token" value="<?=$var['csrf_token']?>">
<table class="settings">
<? if ($xmlType == 'edit'):
if ($DockerClient->doesContainerExist($templateName)): echo "<input type='hidden' name='existingContainer' value='${templateName}'>\n"; endif;