From eafaae2327feb7244c37da3e94dbbc912be9db88 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 24 Oct 2008 16:25:45 +0000 Subject: The friend invite infrastructure is now secure. git-svn-id: https://code.elgg.org/elgg/trunk@2310 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/forms/register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php index b099ce8bf..cbc29f52b 100644 --- a/views/default/account/forms/register.php +++ b/views/default/account/forms/register.php @@ -29,7 +29,8 @@ if ($admin_option) $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); - $form_body .= elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid'])); + $form_body .= elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid'])); + $form_body .= elgg_view('input/hidden', array('internalname' => 'invitecode', 'value' => $vars['invitecode'])); $form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register')); $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; ?> -- cgit v1.2.3