stevemo / cpanel

Admin Panel for Laravel 4
MIT License
203 stars 67 forks source link

Custom User Fields #28

Open aaronflorey opened 10 years ago

aaronflorey commented 10 years ago

I'm using dev-develop, i've overwritten the layouts and put my custom users fields in. Am i able to override the user validation code?

stevemo commented 10 years ago

You can create your own service provider and override the part that you need. Look at this example http://laravel.io/bin/06Lar

aaronflorey commented 10 years ago

Any idea when trying to override it i'd get a validator error?

ReflectionException Class validator does not exist

stevemo commented 10 years ago

I will need to see your code to help you more!

aaronflorey commented 10 years ago

I copied your exact code and loaded my service provider in app.php and the error comes up. I really can't figure this issue out.