aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-24 16:25:45 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-24 16:25:45 +0000
commiteafaae2327feb7244c37da3e94dbbc912be9db88 (patch)
tree769644201baaf38c1b5a465a5fef5d7f81683151 /views
parentcfeaf074b33716d589cec274216bb003e0e925dd (diff)
downloadelgg-eafaae2327feb7244c37da3e94dbbc912be9db88.tar.gz
elgg-eafaae2327feb7244c37da3e94dbbc912be9db88.tar.bz2
The friend invite infrastructure is now secure.
git-svn-id: https://code.elgg.org/elgg/trunk@2310 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/account/forms/register.php3
1 files changed, 2 insertions, 1 deletions
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'))) . "</p>";
?>