Removed my own validation source in favour of Ardent.

This commit is contained in:
James Cole
2014-07-15 17:09:59 +02:00
parent a1fb4bdb60
commit aa36e8b7cf
17 changed files with 212 additions and 163 deletions

View File

@@ -4,8 +4,10 @@ use Illuminate\Auth\Reminders\RemindableInterface;
use Illuminate\Auth\Reminders\RemindableTrait;
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\UserTrait;
use LaravelBook\Ardent\Ardent;
class User extends Elegant implements UserInterface, RemindableInterface
class User extends Ardent implements UserInterface, RemindableInterface
{
use UserTrait, RemindableTrait;
@@ -22,7 +24,7 @@ class User extends Elegant implements UserInterface, RemindableInterface
public static $factory
= [
'email' => 'email',
'password' => 'string',
'password' => 'string|60',
'migrated' => '0'
];