summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-24 11:45:30 +0200
committerLukas Reschke <lukas@owncloud.com>2014-11-17 17:50:19 +0100
commit767b08c6699e88a669b97246497d5315c6a6c063 (patch)
tree863d0cae8be3c54b0ba112c8511ff0d2acbb3e62 /core/lostpassword
parent57b5c82eb74a0f6f6f8fe785d0fd05892a12ba57 (diff)
downloadnextcloud-server-767b08c6699e88a669b97246497d5315c6a6c063.tar.gz
nextcloud-server-767b08c6699e88a669b97246497d5315c6a6c063.zip
Use correct route instead
THX @schiesbn (I should setup a mail server on my local system...)
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/controller/lostcontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php
index eff7a1f5728..ec52108ad49 100644
--- a/core/lostpassword/controller/lostcontroller.php
+++ b/core/lostpassword/controller/lostcontroller.php
@@ -189,7 +189,7 @@ class LostController extends Controller {
ISecureRandom::CHAR_UPPER);
$this->config->setUserValue($user, 'owncloud', 'lostpassword', $token);
- $link = $this->urlGenerator->linkToRouteAbsolute('core.lost.setPassword', array('userId' => $user, 'token' => $token));
+ $link = $this->urlGenerator->linkToRouteAbsolute('core.lost.resetform', array('userId' => $user, 'token' => $token));
$tmpl = new \OC_Template('core/lostpassword', 'email');
$tmpl->assign('link', $link, false);