diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-06-24 19:53:34 -0300 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-06-24 19:53:34 -0300 |
commit | 0b1614383eb95dc8f3f8772c2f3d61df8ded834f (patch) | |
tree | 4f321d0eb33c5f2dad57b10a2dc8038c9bbb8087 /app/Model | |
parent | b513313c2fbfb0e5f15cab97ea74929b5c0d0a60 (diff) |
Remove Alphanumeric check for the username
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/User.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Model/User.php b/app/Model/User.php index 3240d547..8769d69a 100644 --- a/app/Model/User.php +++ b/app/Model/User.php @@ -198,7 +198,6 @@ class User extends Base $v = new Validator($values, array( new Validators\Required('username', t('The username is required')), new Validators\MaxLength('username', t('The maximum length is %d characters', 50), 50), - new Validators\AlphaNumeric('username', t('The username must be alphanumeric')), new Validators\Unique('username', t('The username must be unique'), $this->db->getConnection(), self::TABLE, 'id'), new Validators\Required('password', t('The password is required')), new Validators\MinLength('password', t('The minimum length is %d characters', 6), 6), @@ -232,7 +231,6 @@ class User extends Base new Validators\Required('id', t('The user id is required')), new Validators\Required('username', t('The username is required')), new Validators\MaxLength('username', t('The maximum length is %d characters', 50), 50), - new Validators\AlphaNumeric('username', t('The username must be alphanumeric')), new Validators\Unique('username', t('The username must be unique'), $this->db->getConnection(), self::TABLE, 'id'), new Validators\Integer('default_project_id', t('This value must be an integer')), new Validators\Integer('is_admin', t('This value must be an integer')), @@ -258,7 +256,6 @@ class User extends Base new Validators\Required('id', t('The user id is required')), new Validators\Required('username', t('The username is required')), new Validators\MaxLength('username', t('The maximum length is %d characters', 50), 50), - new Validators\AlphaNumeric('username', t('The username must be alphanumeric')), new Validators\Unique('username', t('The username must be unique'), $this->db->getConnection(), self::TABLE, 'id'), new Validators\Required('current_password', t('The current password is required')), new Validators\Required('password', t('The password is required')), |