Skip to content

Commit 13c6095

Browse files
authored
Merge pull request #19 from HonzsSedlomn/bug-fixes
Fix url_for for error htmls
2 parents 6a8b8bb + 47f06ff commit 13c6095

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project/client/templates/errors/401.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="jumbotron">
77
<div class="text-center">
88
<h1>401</h1>
9-
<p>You are not authorized to view this page. Please <a href="{{ url_for('main.login')}}">log in</a>.</p>
9+
<p>You are not authorized to view this page. Please <a href="{{ url_for('user.login')}}">log in</a>.</p>
1010
</div>
1111
</div>
1212
{% endblock %}

project/client/templates/errors/403.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="jumbotron">
77
<div class="text-center">
88
<h1>401</h1>
9-
<p>You are not authorized to view this page. Please <a href="{{ url_for('main.login')}}">log in</a>.</p>
9+
<p>You are not authorized to view this page. Please <a href="{{ url_for('user.login')}}">log in</a>.</p>
1010
</div>
1111
</div>
1212
{% endblock %}

0 commit comments

Comments
 (0)