forked from mixu/useradmin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'loonies/issue/missing-error-messages' into 3.2/m…
…aster
- Loading branch information
Showing
2 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<?php defined('SYSPATH') or die('No direct script access.'); | ||
|
||
// see /system/mesages/validation.php for the defaults for each rule. These can be overridden on a per-field basis. | ||
return array( | ||
'username' => array( | ||
'not_empty' => __('username.not_empty'), | ||
'invalid' => __('username.invalid'), | ||
), | ||
'password' => array( | ||
'not_empty' => __('password.not_empty'), | ||
'invalid' => __('password.invalid'), | ||
), | ||
); | ||
|
||
<?php defined('SYSPATH') or die('No direct script access.'); | ||
|
||
// see /system/mesages/validation.php for the defaults for each rule. These can be overridden on a per-field basis. | ||
return array( | ||
'username' => array( | ||
'not_empty' => __('username.not_empty'), | ||
'invalid' => __('username.invalid'), | ||
), | ||
'email' => array( | ||
'not_empty' => __('email.not_empty'), | ||
'invalid' => __('email.invalid'), | ||
), | ||
'password' => array( | ||
'not_empty' => __('password.not_empty'), | ||
'invalid' => __('password.invalid'), | ||
), | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<?php defined('SYSPATH') or die('No direct script access.'); | ||
|
||
// see /system/messages/validation.php for the defaults for each rule. These can be overridden on a per-field basis. | ||
return array( | ||
'username' => array( | ||
'unique' => __('username.already.used'), | ||
), | ||
|
||
'email' => array( | ||
'email' => __('email.invalid'), // Workaround for Bug Report #3750 | ||
'unique' => __('email.already.used'), | ||
), | ||
'password' => array( | ||
'matches' => __('password.confirm.different'), | ||
), | ||
); | ||
<?php defined('SYSPATH') or die('No direct script access.'); | ||
|
||
// see /system/messages/validation.php for the defaults for each rule. These can be overridden on a per-field basis. | ||
return array( | ||
'username' => array( | ||
'unique' => __('username.already.used'), | ||
), | ||
|
||
'email' => array( | ||
'email' => __('email.invalid'), // Workaround for Bug Report #3750 | ||
'unique' => __('email.already.used'), | ||
), | ||
'password' => array( | ||
'matches' => __('password.confirm.different'), | ||
), | ||
); | ||
|