On Dec 15, 12:10 pm, "Liebermann, Anja Carolin"
<[email protected]> wrote:
> It works:
>         function beforeFilter()
>     {
>         parent::beforeFilter();
>                 $this->Auth->authError = sprintf(__('You are not authorized 
> to access that location %s .',true),$this->name.'-'.$this->params['action']);
>     }
>
> Gives me:
> "You are not authorized to access that location Hotelmasters-index"
>
> Anja

Why don't you make use of the log function (put $this->log($someInfo,
'my_auth_log'); anywhere you like) rather than send the user
irrelevant/potentially exploitable information?

AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to