aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:31:25 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:31:25 +0100
commit9068617fbb8957ae0cc97deff37bdaf7fb7dd966 (patch)
tree553379e0faedcaf55f0e58dabe5d3f8e3bf76b98 /src/web/templates
parentfixed loading of the CDN address (diff)
downloadnewspipe-9068617fbb8957ae0cc97deff37bdaf7fb7dd966.tar.gz
newspipe-9068617fbb8957ae0cc97deff37bdaf7fb7dd966.tar.bz2
newspipe-9068617fbb8957ae0cc97deff37bdaf7fb7dd966.zip
Fixed 'Page not found' error for the 'recover' page.
Diffstat (limited to 'src/web/templates')
-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