Set string length because laravel is dumb sometimes

This commit is contained in:
snipe 2017-02-17 18:26:53 -08:00
parent 8fe8ff71e8
commit a710c98b50

View file

@ -24,7 +24,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
Schema::defaultStringLength(191);
// Email array validator
Validator::extend('email_array', function ($attribute, $value, $parameters, $validator) {
$value = str_replace(' ', '', $value);