Changeset 339 for trunk/app/app_controller.php
- Timestamp:
- 03/24/08 17:06:55 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/app_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/app_controller.php
r336 r339 16 16 public function beforeFilter() 17 17 { 18 $this->Auth->fields = array('username' => ' username', 'password' => 'pwd');18 $this->Auth->fields = array('username' => 'email', 'password' => 'pwd'); 19 19 $this->Auth->loginAction = array('controller' => 'users', 'action' => 'login'); 20 20 $this->Auth->loginRedirect = array('controller' => 'news', 'action' => 'display');
