commit | 60524339edadbcb3a980af42ee2abbac8746b7d4 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sun Nov 20 02:33:56 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sun Nov 20 02:33:56 2022 +0100 |
tree | d2237dd0140bc1e05d1d32ab5aecad487ad480a7 | |
parent | 71e9f8760431cfc2a49eb0d3fbf6d6da397916c4 [diff] [blame] |
Add docker container definition Change-Id: If32020e6b8e8bb816eb54533554b18cc5302b5c9
diff --git a/admin/insert.php b/admin/insert.php index 9f5abb2..3a22ca4 100644 --- a/admin/insert.php +++ b/admin/insert.php
@@ -3,7 +3,7 @@ require '../php/utils.php'; $credentials = new Credentials(); - if ($credentials->adminToken != ($_POST["token"] ?? "")) { + if ($credentials->adminToken() != ($_POST["token"] ?? "")) { exit(); }