summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-11-16 22:01:24 +0100
committerBart Visscher <bartv@thisnet.nl>2012-11-16 22:01:24 +0100
commit03b8ba273ae39a3596d046d0f79a0c39d5aae053 (patch)
tree3da0c8052aa7966c9fd00f51fd23e0b895d6daa3 /core/templates/login.php
parentd1c0f2a7393d82629bec961e056856846bd05465 (diff)
downloadnextcloud-server-03b8ba273ae39a3596d046d0f79a0c39d5aae053.tar.gz
nextcloud-server-03b8ba273ae39a3596d046d0f79a0c39d5aae053.zip
Fix lostpassword url generation
Fixes issue #262
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 0768b664c6f..d6b09c83d3a 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -11,7 +11,7 @@
</li>
<?php endif; ?>
<?php if(isset($_['invalidpassword']) && ($_['invalidpassword'])): ?>
- <a href="./core/lostpassword/"><li class="errors">
+ <a href="<?php echo OC_Helper::linkToRoute('core_lostpassword_index') ?>"><li class="errors">
<?php echo $l->t('Lost your password?'); ?>
</li></a>
<?php endif; ?>