Well here's what i'm trying to do. I'm making a website where you can
invite friends to join your team. when you invite someone, they get an
email with a link something like:
example.com/join_team.php?inivation=2e3230928ed
if the user is already logged in, then i want to go ahead and add them
to
On Sun, Jun 29, 2008 at 8:39 PM, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
> Does anyone have another possible way to do this then? If the user is
> not logged in, I need to be able to redirect them to the login/
> register screen with the invitation code intact.
I think Auth doesn't like being sen
Does anyone have another possible way to do this then? If the user is
not logged in, I need to be able to redirect them to the login/
register screen with the invitation code intact.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
yes just one :
try to set login action as an array('controller' => 'users', 'action'
=> 'login', $this->params['named']['invitation']);
But seems that Auth does not match it, maybe a ticket ?
On Jun 27, 9:55 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Thanks for the response but I tried that an
Thanks for the response but I tried that and it's still just
redirecting to /login Any other suggestions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@
try to set login action as an array('controller' => 'users', 'action'
=> 'login', 'pass' => array($this->params['named']['invitation']));
hth
On Jun 27, 2:16 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I am trying to make my auth component redirect to the login screen
> with params if they are pr
I am trying to make my auth component redirect to the login screen
with params if they are provided in the link to my site. In this case
I need to make an invitation email to join a website which has a
invivation code, if the user is not logged in, I want them to be
redirected to the login screen