aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-20 20:48:08 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-20 20:48:08 -0700
commitdb99f3abda0bdbdc26c5234671ea434c20a622b2 (patch)
tree1062a3c5cdc53683e41ea29fbc5e72e6356c28b9
parentb4d5af63aff2677cdf3010c5764a8a3086888368 (diff)
downloadvolse-hubzilla-db99f3abda0bdbdc26c5234671ea434c20a622b2.tar.gz
volse-hubzilla-db99f3abda0bdbdc26c5234671ea434c20a622b2.tar.bz2
volse-hubzilla-db99f3abda0bdbdc26c5234671ea434c20a622b2.zip
fixes
-rw-r--r--mod/dfrn_request.php1
-rw-r--r--view/dfrn_req_confirm.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index 01f7c64b4..7db61d35b 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -349,6 +349,7 @@ function dfrn_request_content(&$a) {
'$confirm_key' => $confirm_key,
'$username' => $a->user['username'],
'$uid' => $_SESSION['uid'],
+ '$nickname' => $a->user['nickname'],
'dfrn_rawurl' => $_GET['dfrn_url']
));
return $o;
diff --git a/view/dfrn_req_confirm.tpl b/view/dfrn_req_confirm.tpl
index 1914e4c0e..f053f22af 100644
--- a/view/dfrn_req_confirm.tpl
+++ b/view/dfrn_req_confirm.tpl
@@ -5,7 +5,7 @@ Welcome home $username.
Please confirm your introduction to $dfrn_url.
</p>
-<form id="dfrn-request-homecoming-form" action="dfrn_request/$uid" method="post">
+<form id="dfrn-request-homecoming-form" action="dfrn_request/$nickname" method="post">
<input type="hidden" name="dfrn_url" value="$dfrn_url" />
<input type="hidden" name="confirm_key" value="$confirm_key" />
<input type="hidden" name="localconfirm" value="1" />