SQL error with Auth Component?

2008-12-06 Thread gearvOsh
So Im working with the auth component, heres my AppController. class AppController extends Controller { var $components = array('Auth'); function beforeFilter() { // Authenticate if (isset($this-Auth)) {

Re: SQL error with Auth Component?

2008-12-06 Thread gearvOsh
It seems this works below, but my previous code does not. $this-Auth-allowedActions = array('signup', 'reset', 'verify', 'forgot'); Perhaps something wrong with the docs? http://book.cakephp.org/view/247/AuthComponent-Methods#allow-382 --~--~-~--~~~---~--~~ You

Re: SQL error with Auth Component?

2008-12-06 Thread thatsgreat2345
Checkout at the bottom of this http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissions_revisited It seems to work, basically allows everything in the beforeFilter in the app, then in the users_controller you recall parent::beforeFilter () , then set the allow. I'm