title: How can I use different model for Auth component in CakePHP 2.0.4?
body: <p>It looks like trivial thing, but I really can't find where I can change it.
  I want to use my "Player" model instead of User, but every time I go on /players/login it redirects me to "Missing Controller" page and link changes to /users/login.</p>
  
  <p>I tried:</p>
  
  <pre><code>public $components = array(
      'Session',
      'Auth' =&gt; array(
          'authenticate' =&gt; array('all' =&gt; array('userModel' =&gt; 'Player'))
       )
  );
  </code></pre>
  
  <p>and</p>
  
  <pre><code>function beforeFilter() {
      $this-&gt;Auth-&gt;authenticate = array('all' =&gt; array('userModel' =&gt; 'Player'));
  }
  </code></pre>
  
  <p><strong>EDIT: SOLVED</strong></p>
  
  <pre><code>'loginAction' =&gt; array('controller' =&gt; 'players', 'action' =&gt; 'login')
  </code></pre>
  
  <p>in $components array helped, I think :D</p>