...after trying a few things, I noticed I can't even do this... form id='pwTestForm' action='javascript:alert()'> <input type='submit' value='submit'> </form>
Just trying to trigger an alert triggers the loginAction!? On Feb 27, 9:12 am, foldiman <[email protected]> wrote: > I'm using the Auth component with no problem..users login, logout, > admin working fine, etc. > > However, I have a few forms (contact, password recovery) that are not > connected to models and need to be accessible to all users. The pages > themselves are easily accessible using the allow() method. But when > the form is submitted, my Auth->loginAction is getting called. No > matter how I setup the form, Cake thinks I'm trying to login....which > is of course not what I'm trying to do. > > Does anyone have any thoughts as to why Cake is trying to login when > any form is submitted? Note: this still happens when I set $this->Auth- > > >allow('*'); > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
