Show
Ignore:
Timestamp:
03/24/08 14:42:08 (8 months ago)
Author:
aarkerio
Message:

Move recover from users

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/app_controller.php

    r335 r336  
    77 
    88class AppController extends Controller { 
    9  
     9  
    1010 public $components = array('Auth', 'Cookie', 'Security'); 
    11  
    12  public $helpers = array('Html', 'Form', 'Session'); 
    13  
     11  
     12 public $helpers    = array('Html', 'Form', 'Session'); 
     13  
     14 //deprecated public $allow      = array('view', 'display', 'subscribe', 'recover', 'reply', 'register', 'insert', 'vote', 'entry', 'download', 'blog','portfolio', 'about', 'signup', 'message', 'search', 'directory', 'bloggers', 'add', 'rss', 'discussion');  
     15  
    1416 public function beforeFilter() 
    1517 { 
     
    2022     $this->Auth->loginError = 'Invalid e-mail / password combination. Please try again'; 
    2123     $this->Auth->authorize = 'controller';   
    22      $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'reply', 'register', 'insert', 'vote', 'entry', 'download', 'blog','portfolio', 'about', 'signup', 'message', 'search', 'directory', 'bloggers', 'add', 'rss', 'discussion') ); 
     24     $this->Auth->deny('*'); 
    2325     $this->Auth->autoRedirect = true; 
    2426     $this->set('cU', $this->Auth->user());  // $cU current user array to use in the views if user logged