Hi all,
I've 2 controllers, users and menus.
users controller has an action called chgpasswd.
menus controller has an action called gopasswd.
Basically, the action gopasswd is to redirect (by using $this-
>redirect) to chgpasswd action.
But after i added the $this->Security->requirePost('chgpasswd') (i
want to block the get request from accessing this chgpasswd action )
inside the beforeRender callback function of users controller, the
aciton gopasswd is not able to use $this->redirect function anymore.
How to overcome this? Or is there a standard way to do this.
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---