hello,

I have a problem with 1.2 auth:

http://www.kende.com/test/ -> redirects to login = this is good ..

but for a missing controller/action/view :

http://www.kende.com/test/dadadmfsf/ -> shows "Not Found" should also
redirect first to login...


<?php
class AppController extends Controller {
var $components =
array('Auth');
function beforeFilter(){
  if (isset($this->Auth)) {
  $this->Auth->userModel = 'User';
  $this->Auth->userScope = array('User.disabled' => 0);
  $this->Auth->loginAction = '/users/login';
  $this->Auth->loginRedirect = '/websites/';
  }
}
}
?>


Thank you,

Andras Kende
http://www.kende.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to