Re: strange behavior when action is Auth->allow(ed)
On May 5, 2011, at 15:16, Mariano C. wrote:
> function beforeFilter()
> {
> parent::beforeFilter();
> $this->Auth->allow(array('showTables'));
> }
>
>
>
> When i call http://...../showTables/season_id:1 for the first time I
> will be redirect to the login page. Now if I rewrite http://...../showTables/season_id:1
> for the second time the action will be showed (without insert user and
> password).
Check the documentation. $this->Auth->allow() does not accept an array.
http://book.cakephp.org/view/1257/allow
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home