summaryrefslogtreecommitdiffstats
path: root/examples/server/lib/render/trust.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/lib/render/trust.php')
-rw-r--r--examples/server/lib/render/trust.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/server/lib/render/trust.php b/examples/server/lib/render/trust.php
index 60d01d0..9acfae7 100644
--- a/examples/server/lib/render/trust.php
+++ b/examples/server/lib/render/trust.php
@@ -5,7 +5,7 @@ require_once "lib/render.php";
define('trust_form_pat',
'<div class="form">
- <p>Do you wish to confirm your identity URL (<code>%s</code>) with <code>%s</code>?</p>
+ <p>Do you wish to confirm your identity (<code>%s</code>) with <code>%s</code>?</p>
<form method="post" action="%s">
<input type="checkbox" name="remember" value="on" id="remember"><label
for="remember">Remember this decision</label>
@@ -19,7 +19,7 @@ define('trust_form_pat',
function trust_render($info)
{
$current_user = getLoggedInUser();
- $lnk = link_render($current_user);
+ $lnk = link_render(idURL($current_user));
$trust_root = htmlspecialchars($info->trust_root);
$trust_url = buildURL('trust', true);
$form = sprintf(trust_form_pat, $lnk, $trust_root, $trust_url);