aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-16 19:45:00 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:14 +0100
commitf47444e1f776912cbf141ec9cc3763110f4e3552 (patch)
treee50acafa0fc13b943aafc7b8f424cab142236363 /core
parent5f3c54922773068091dfe8b40e3b407512ef4cfe (diff)
downloadnextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.tar.gz
nextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.zip
Use separate function to make absolute urls
Diffstat (limited to 'core')
-rw-r--r--core/lostpassword/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php
index ede94dab2d7..30caa2d23da 100644
--- a/core/lostpassword/index.php
+++ b/core/lostpassword/index.php
@@ -16,7 +16,7 @@ if (isset($_POST['user'])) {
OC_Preferences::setValue($_POST['user'], 'owncloud', 'lostpassword', $token);
$email = OC_Preferences::getValue($_POST['user'], 'settings', 'email', '');
if (!empty($email)) {
- $link = OC_Helper::linkTo('core/lostpassword', 'resetpassword.php', null, true).'?user='.$_POST['user'].'&token='.$token;
+ $link = OC_Helper::linkToAbsolute('core/lostpassword', 'resetpassword.php').'?user='.$_POST['user'].'&token='.$token;
$tmpl = new OC_Template('core/lostpassword', 'email');
$tmpl->assign('link', $link);
$msg = $tmpl->fetchPage();