I meant this array in 
```php
        $attempt = Auth::attempt([
              'email'    => $input['email'],
             'password' => $input['password']
         ]);
```

Should be

```php
$attempt = Auth::attempt(
    [
        'email'        => $input['email'],
        'password' => $input['password']
    ]
);
```