diff options
author | Josh Hoyt <josh@janrain.com> | 2006-02-08 23:37:46 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-02-08 23:37:46 +0000 |
commit | 1709607f2f560a2218f57bb565b5d43899ab238d (patch) | |
tree | f69e5ad12b37fef13f76e5351bff8fde37bf0af6 /examples/consumer | |
parent | 72891e2151d48641dba3c7e54b92f770c940439a (diff) | |
download | php-openid-1709607f2f560a2218f57bb565b5d43899ab238d.zip php-openid-1709607f2f560a2218f57bb565b5d43899ab238d.tar.gz php-openid-1709607f2f560a2218f57bb565b5d43899ab238d.tar.bz2 |
[project @ re-organize the server example and make it prettier]
Diffstat (limited to 'examples/consumer')
-rw-r--r-- | examples/consumer/finish_auth.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/consumer/finish_auth.php b/examples/consumer/finish_auth.php index 83a2939..c51b9ec 100644 --- a/examples/consumer/finish_auth.php +++ b/examples/consumer/finish_auth.php @@ -20,8 +20,12 @@ if ($status != Auth_OpenID_SUCCESS) { if ($info) { // This means the authentication succeeded. $openid = $info; - $success = sprintf("You have successfully verified %s as your identity.", - $openid); + $esc_identity = htmlspecialchars($openid, ENT_QUOTES); + $success = sprintf('You have successfully verified ' . + '<a href="%s">%s</a> as your identity.', + $esc_identity, + $esc_identity + ); } else { // This means the authentication was ancelled. $msg = 'Verification cancelled.'; |