Re: How to execute OthAuth protected actions with a CRON job?

2007-04-07 Thread CraZyLeGs
log someone without password ? eh talk about security.. maybe a hash of the password and login with some salt Anyway look here http://bakery.cakephp.org/articles/view/99 in the comments "11 Howto automaticly sign in a user." On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]> wrote: > Excell

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-07 Thread CraZyLeGs
log someone without password ? eh talk about security.. maybe a hash of the password and login with some salt Anyway look here http://bakery.cakephp.org/articles/view/99 in the comments "11 Howto automaticly sign in a user." On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]> wrote: > Excell

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-06 Thread Bootstrapper
Excellent! Thanks CraZyLeGs! Just to verify - I assume the PHP code you're talking about below goes into the PHP file that the CRON job calls, right? This is basically the code for logging someone directly through code, rather than through the login form. But isn't there a way to directly log so

Re: How to execute OthAuth protected actions with a CRON job?

2007-04-05 Thread CraZyLeGs
Hi, well, requestAction() goes through the whole pipe and auth is in there. if the action protected is in the same controller then do $this- >myaction() instead of requestAction. If however it's in another controller then it's problematic. You can do something though: you need to disable auto red

How to execute OthAuth protected actions with a CRON job?

2007-04-03 Thread Bootstrapper
I'm generating a view that is emailed to my subscribers regularly through a CRON job. It works fine if the CRON job is only accessing actions that are unprotected by OthAuth (for example if var $othAuthRestrictions = null;). It's alright if the initial action being called is unprotected, but it's