diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-02 12:24:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-02 12:24:14 -0400 |
commit | f9e96b0c32ea7db069c718020f65174ad0bcc1d7 (patch) | |
tree | b74240d4d88a790ce86f00b9eea38212a6eeaa3e /IkiWiki/Plugin/passwordauth.pm | |
parent | 1d1ef2003432d6993f0169b58e7b5f176948eb35 (diff) | |
download | ikiwiki-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.pm | 2 |
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, |