diff --git a/html/index.php b/html/index.php
index ab9ed3f5c1cb950bfb320171bcdc7e2300d398c6..5be46dbec0257f8f61b74fc9fac7aae259f78074 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* Check for valid input */
$username= $_POST["username"];
- if (!ereg("^[A-Za-z0-9_.-]+$", $username)){
+ if (!ereg("^[@A-Za-z0-9_.-]+$", $username)){
$message= _("Please specify a valid username!");
} elseif (mb_strlen($_POST["password"], 'UTF-8') == 0){
$message= _("Please specify your password!");