aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/templates/login.html2
-rw-r--r--src/web/templates/recover.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/templates/login.html b/src/web/templates/login.html
index c37d6937..70e01f9c 100644
--- a/src/web/templates/login.html
+++ b/src/web/templates/login.html
@@ -25,6 +25,6 @@
</div>
<a href="/signup" class="btn btn-default">{{ _('Sign up') }}</a>
&nbsp;
- <a href="/recover" class="btn btn-default">{{ _('Forgot password') }}</a>
+ <a href="{{ url_for('user.recover') }}" class="btn btn-default">{{ _('Forgot password') }}</a>
</div><!-- /.container -->
{% endblock %}
diff --git a/src/web/templates/recover.html b/src/web/templates/recover.html
index c1176d55..ada110dc 100644
--- a/src/web/templates/recover.html
+++ b/src/web/templates/recover.html
@@ -6,7 +6,7 @@
{% for message in form.email.errors %}
<div class="flash">{{ message }}</div>
{% endfor %}
- <form action="{{ url_for('recover') }}" method=post>
+ <form action="{{ url_for('user.recover') }}" method=post>
{{ form.hidden_tag() }}
<div class="form-group">
{{ form.email(class_="form-control", placeholder=_('Your email')) }}
bgstack15