X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Findex.php;h=5815c9777d904a545843f7ea739fbf342ed8c9f1;hb=2fc5f744b08dabc232c6a3cc370e9f788ab182ea;hp=662b21c31d956500cdd264d9be41c4aa6356a086;hpb=6f6b1c5f111ad4fc1a2760d1722893128e545a0e;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 662b21c..5815c97 100644
--- a/web/index.php
+++ b/web/index.php
@@ -58,6 +58,7 @@ function main()
else if (isset($name)) {
$bri->garbage_manager(TRUE);
/* try login */
+ $name = substr($name, 0, 12);
if (($user = &add_user(&$bri, &$sess, &$idx, $name)) != FALSE) {
$ACTION = "table";
@@ -131,13 +132,14 @@ function main()