Merge pull request #19 from HonzsSedlomn/bug-fixes

Fix url_for for error htmls
main
Michael Herman 2017-07-01 15:40:52 -06:00 committed by GitHub
commit 13c60956a5
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<div class="jumbotron">
<div class="text-center">
<h1>401</h1>
<p>You are not authorized to view this page. Please <a href="{{ url_for('main.login')}}">log in</a>.</p>
<p>You are not authorized to view this page. Please <a href="{{ url_for('user.login')}}">log in</a>.</p>
</div>
</div>
{% endblock %}

View File

@ -6,7 +6,7 @@
<div class="jumbotron">
<div class="text-center">
<h1>401</h1>
<p>You are not authorized to view this page. Please <a href="{{ url_for('main.login')}}">log in</a>.</p>
<p>You are not authorized to view this page. Please <a href="{{ url_for('user.login')}}">log in</a>.</p>
</div>
</div>
{% endblock %}