title: Error: Login attribute is required using Sentry and Laravel
body: <p>Since today, my login controller (using Sentry) doesn't work anymore.
  I already changed it 10203902 times but it keeps giving me the error: "a [login] attribute is required". For the past 2-3 weeks this controller worked fine. </p>
  
  <p>LoginController</p>
  
  <pre><code> &lt;?php namespace Digitus\Auth\Controllers;
  
  use Illuminate\View\Environment as View;
  use Cartalyst\Sentry\Sentry;
  use Illuminate\Support\Facades\Input;
  use Illuminate\Routing\Redirector as Redirect;
  
  class LoginController extends \Digitus\Base\Controllers\BController{
  
      public function __construct(Input $input, View $view, Sentry $sentry, Redirect $redirect){
          $this-&gt;input    = $input;
          $this-&gt;view     = $view;
          $this-&gt;sentry   = $sentry;
          $this-&gt;user     = $this-&gt;sentry-&gt;getUser();
          $this-&gt;redirect = $redirect;
  
          if($this-&gt;sentry-&gt;check()) {
              $user = $this-&gt;sentry-&gt;getUser();
          } else {
              $user = null;
          }
          $this-&gt;view-&gt;share('loggedUser', $user);
      }
  
      protected $input;
      protected $view;
      protected $sentry;
      protected $redirect;
  
      public function index()
      {
          return $this-&gt;view-&gt;make('user.login');
      }
  
      public function login()
      {
          $user = $this-&gt;user-&gt;where('username', $this-&gt;input-&gt;get('email_or_username'))-&gt;orWhere('email', $this-&gt;input-&gt;get('email_or_username'))-&gt;first();
          $credentials = array(
              'email' =&gt; Input::get('email_or_username') ?: null,
              'password' =&gt; $this-&gt;input-&gt;get('password'),
          );
          try {
              $user = $this-&gt;sentry-&gt;authenticate($credentials, false);
  
              if($this-&gt;sentry-&gt;check())
              {
                  return $this-&gt;redirect-&gt;to('admin');
              } else {
                  return $this-&gt;redirect-&gt;to('');
              }
          }
          catch (\Exception $e)
          {
              return $this-&gt;redirect-&gt;to('login')-&gt;withErrors(array('login'=&gt; $e-&gt;getMessage()));
          }
      }
  
  }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>@extends('layouts.main')
  
  @section('content')
  
  &lt;div class="col-md-4 col-md-offset-4"&gt;
      &lt;div class="panel panel-info"&gt;
          &lt;div class="panel-heading"&gt;PLease Login&lt;/div&gt;
          &lt;div class="panel-body"&gt;
              {{ Form::open(array('url' =&gt; 'login')) }}
              @if($errors-&gt;has('login'))
                  &lt;div class="alert alert-danger"&gt;
                      &lt;a href="#" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/a&gt;
                      {{ $errors-&gt;first('login', ':message') }}
                  &lt;/div&gt;
              @endif
              &lt;div class="form-group"&gt;
                  {{ Form::label('email_or_username', 'Email Address or Username') }}
                  {{ Form::email('email_or_username', '', array('class'=&gt;'form-control','placeholder'=&gt;'Please enter your Email Address or Username to login', 'autofocus')) }}
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  {{ Form::label('password', 'Password') }}
                  {{ Form::password('password', array('class'=&gt;'form-control', 'placeholder'=&gt;'Password')) }}
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  {{ Form::submit('Login', array('class'=&gt;'btn btn-success')) }}
                  {{ HTML::link('/', 'Cancel', array('class'=&gt;'btn btn-danger')) }}
              &lt;/div&gt;
              &lt;hr&gt;
              &lt;div class="form-group"&gt;
                  &lt;h2&gt;Don't have an account?&lt;/h2&gt;
                  {{ HTML::link('register', 'Please register here', array('class'=&gt;'btn btn-primary btn-xs'))}}
              &lt;/div&gt;
              {{ Form::close() }}
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  @stop
  </code></pre>
  
  <p>I've already asked many people for solutions or fixes etc. They all didn't work..</p>
  
  <p>PS &amp; FYI: I also published the Sentry config, and the login_attribute is email.
  Any help or input would be great. Thanks in advance..</p>