I have some trouble with the init of Auth component is it the same as
1.2?

it displays me the user login information in the url without loging in
in 1.2 i had not this problem!!!

http://localhost/~cherif/myapp/users/login?_method=POST&data[User][username]=admin&data[User][password]=admin

any one knows the solution for that??? in the cake book nothing is
montioned about that in the migration section.

here is the code snippest for the app_controller:

class AppController extends Controller {
    var $components=array('Auth','Session');
    var $helpers=array('Session','Form','Html');

    function beforeFilter()
    {
        $this->Auth->allowedActions=array('home','display');
        $this->Auth->loginAction = array('controller' => 'users',
'action' => 'login');
        $this->Auth->logoutRedirect = array('controller' => 'users',
'action' => 'login');
        $this->Auth->loginRedirect = array('controller' => 'contents',
'action' => 'add');
        $this->Auth->userScope=array("User.activated"=>1);

    }
}

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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