diff --git a/rhodecode/templates/password_reset.html b/rhodecode/templates/password_reset.html
--- a/rhodecode/templates/password_reset.html
+++ b/rhodecode/templates/password_reset.html
@@ -33,22 +33,30 @@
${_('Reset your Password')}
- ${h.link_to(_("Go to the login page to sign in."),h.url('login'))}
+ ${h.link_to(_("Go to the login page to sign in."), request.route_path('login'))}
-%if c.captcha_active:
+%if captcha_active:
%endif
\ No newline at end of file
+