aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/passwordauth.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-04-02 12:24:14 -0400
committerJoey Hess <joey@kitenet.net>2012-04-02 12:24:14 -0400
commitf9e96b0c32ea7db069c718020f65174ad0bcc1d7 (patch)
treeb74240d4d88a790ce86f00b9eea38212a6eeaa3e /IkiWiki/Plugin/passwordauth.pm
parent1d1ef2003432d6993f0169b58e7b5f176948eb35 (diff)
downloadikiwiki-f9e96b0c32ea7db069c718020f65174ad0bcc1d7.tar
ikiwiki-f9e96b0c32ea7db069c718020f65174ad0bcc1d7.tar.gz
passwordauth: Fix url in password recovery email to be absolute.
This got broken when cgiurl began often returning a relative url. Added a cgiurl_abs for the things that need a guaranteed absolute cgiurl.
Diffstat (limited to 'IkiWiki/Plugin/passwordauth.pm')
-rw-r--r--IkiWiki/Plugin/passwordauth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/passwordauth.pm b/IkiWiki/Plugin/passwordauth.pm
index 6a5153efd..ac955dc50 100644
--- a/IkiWiki/Plugin/passwordauth.pm
+++ b/IkiWiki/Plugin/passwordauth.pm
@@ -296,7 +296,7 @@ sub formbuilder (@) {
my $template=template("passwordmail.tmpl");
$template->param(
user_name => $user_name,
- passwordurl => IkiWiki::cgiurl(
+ passwordurl => IkiWiki::cgiurl_abs(
'do' => "reset",
'name' => $user_name,
'token' => $token,