Show
Ignore:
Timestamp:
03/05/08 10:57:33 (9 months ago)
Author:
aarkerio
Message:

Small Update

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/app_controller.php

    r285 r308  
    2020     $this->Auth->loginError = 'Invalid e-mail / password combination. Please try again'; 
    2121     $this->Auth->authorize = 'controller';   
    22      $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'register', 'insert', 'vote') ); 
    23  
     22     $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'register', 'insert', 'vote', 'download') ); 
     23     $this->Auth->autoRedirect = true; 
    2424     $this->set('cU', $this->Auth->user());  // $cU current user array to use in the views if user logged 
    2525 }