Could this be caused by a server setting or something regarding
Session handling?
Just crossed my mind that I'm running on iis7, not Apache... Anyone?


On Jul 11, 7:38 am, "Adrian B." <brett.a.tompk...@gmail.com> wrote:
> Thanks for the input...  It seems the form helper create parameter is
> more directed to the controller for which to use the 'login' method.
> Because authentication methods would be the only methods I'd use in a
> users controller, I was trying to include this in my section
> controller (panels).  But , being that it was something different in
> my implementation than all other examples, I created a users
> controller with a login view which now matches the standard call to
> 'Users'
>
> echo $this->Form->create('User');
>
> I still get the same results.  The behavior I experience does not
> generate any errors.  Following is a list of events in the behavior.
>
> 1)  my url gets redirected to user/login
> 2) my form gets submitted, the component calls custom crypt algorithm
> 'hashPasswords()' in the model to crypt the passord entry.  Debugging
> at this point verifies the correct hash for current user.  Function
> hashPasswords() returns $data with updated value for $data['User']
> ['password']
>
> 3) Instead of redirecting back to original url with current user
> authenticated, the user is redirected BACK to authentication with
> HASHED value in the password input.  Attempts to add component
> authorization in component init ('authorize' => 'controller', ) and
> isAuthorized() to manually force/verify authentication yields false
> for $this->Auth->login($user)...
>
> Is there anything else I could possible be overlooking? Anyone?
> Thanks so much for any suggestions.
>
> Adrian
>
> On Jul 9, 7:19 am, Jens Dittrich <jdittr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > unless this is a typo, you should tell the form helper the model name that
> > your form is receiving data for and not the name of the controller.
> > " echo $this->Form->create('Panels'); " seems to be wrong.

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to