you have to set up the Auth object with the allowed actions in your
controller:
i.e. in my users_controller
function beforeFilter() {
$this->Auth->userModel = 'User';
$this->Auth->sessionKey = 'My';
$this->Auth->loginRedirect = '/users/index';
hello
is there a way to get/download the bakery, or is it only available
thru cvs? for what cakephp version is it wrote (1.1x.x. or 1.2.x.x).
I think it would be a good thing to have an "oficial sample app" wich
could be a guidance for new users in good pratices programming with
cakephp. Someti
ok, after a lot of tries and errors :) i got it to work,
i was trying a login funtion in my users controller with something
like:
if(!empty($this->data)) {
$this->cleanUpFields();
if (!$this->Auth->login( $this->data))
Hello
I think I got the idea behind "simple form authentication", I'm trying
to put the new Auth component of cakephp 1.2 at work, but I am unable
to make the login works. It seems it get lost somewhere in the
identify function, I can see in the debug that the Auth object doesn't
get a reference