Some more fixes and tests.

This commit is contained in:
James Cole
2014-07-03 08:30:12 +02:00
parent ecbcfe362c
commit 614c556c96
4 changed files with 138 additions and 23 deletions

View File

@@ -20,8 +20,8 @@ class User extends Elegant implements UserInterface, RemindableInterface
public static $rules
= [
'email' => 'email|unique:users,email',
'migrated' => 'numeric|between:0,1',
'email' => 'required|email|unique:users,email',
'migrated' => 'required|numeric|between:0,1',
'password' => 'between:60,60',
'verification' => 'between:32,32',
];