so where is your problem?
looking at your debug statement, everything is all right
! <=> NOT
so
!true === false
and it will only run into the skip if it would be true (and active would be
false) here
Am Sonntag, 8. April 2012 12:51:11 UTC+2 schrieb heohni:
>
> If I do a debug($this->settings);
> I get
>
> array(
> 'password' => '*****',
> 'active' => true,
> 'model' => 'User',
> 'username' => 'username',
> 'plugin' => '',
> 'controller' => 'users',
> 'loginAction' => 'login',
> 'logoutAction' => 'logout',
> 'cookieName' => 'autoLogin',
> 'expires' => '+2 weeks',
> 'redirect' => false,
> 'requirePrompt' => true,
> 'debug' => null
> )
>
> if (!$this->settings['active'] || !empty($user) || !$cookie ||
> !$controller->request->is('get')) {
> debug(!$this->settings['active']); => false
> debug(!empty($user)); => false
> debug(!$cookie); => true
> debug(!$controller->request->is('get')); => true
>
>
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php