aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--h-source/Application/Controllers/UsersController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php
index ea94ffb..3c3520c 100644
--- a/h-source/Application/Controllers/UsersController.php
+++ b/h-source/Application/Controllers/UsersController.php
@@ -135,8 +135,8 @@ class UsersController extends BaseController
);
$this->m['UsersModel']->databaseConditions['insert'] = array(
- "checkUnique" => "username",
- "+checkUnique" => "e_mail"
+ "checkUnique" => "username|the username is already present",
+ "+checkUnique" => "e_mail|the e-mail address is already present"
);
if ($this->s['registered']->status['status'] === 'logged')