Show
Ignore:
Timestamp:
03/24/08 17:06:55 (8 months ago)
Author:
aarkerio
Message:

Update permission by individual controller rather than general

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/app_controller.php

    r336 r339  
    1616 public function beforeFilter() 
    1717 { 
    18      $this->Auth->fields = array('username' => 'username', 'password' => 'pwd'); 
     18     $this->Auth->fields = array('username' => 'email', 'password' => 'pwd'); 
    1919     $this->Auth->loginAction = array('controller' => 'users', 'action' => 'login'); 
    2020     $this->Auth->loginRedirect = array('controller' => 'news', 'action' => 'display');