Improve security
Change-Id: Ia98bb629c8c81f609d3a5e4d023616a95f9c4248
diff --git a/admin/createtable.php b/admin/createtable.php
index b5b411f..971499b 100644
--- a/admin/createtable.php
+++ b/admin/createtable.php
@@ -13,7 +13,7 @@
`quimata` int(11) NOT NULL,
`requested` tinyint(1) NOT NULL DEFAULT 0,
`mort` tinyint(1) NOT NULL DEFAULT 0,
- `password` varchar(100) NOT NULL DEFAULT '',
+ `password` varchar(255) NOT NULL DEFAULT '',
`bits` int(3) NOT NULL
)",
"CREATE TABLE `$mortsname` (
@@ -27,4 +27,3 @@
foreach ($queries as $query) if (!query($query)) die('An error ocurred. ' . $query);
die("<script>window.location.href = './?dbname=$dbname'</script>");
-?>