Improve session creation

This commit is contained in:
Frédéric Guillot
2014-02-27 19:37:16 -05:00
parent 2f6b9353d5
commit e3ff52ad89
4 changed files with 25 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ class User extends Base
new Validators\MinLength('password', t('The minimum length is %d characters', 6), 6),
new Validators\Required('confirmation', t('The confirmation is required')),
new Validators\Equals('password', 'confirmation', t('Passwords doesn\'t matches')),
new Validators\Integer('default_project_id', t('The value must be an integer')),
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')),
));