Skip to content

Commit d8566f8

Browse files
committed
Add method to the form
1 parent 6bc6ed6 commit d8566f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/base.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@
7171
href="{{ relative_path_for('user_auth') }}"
7272
>Sign In</a>
7373
{% else %}
74-
<form action="{{ relative_path_for('user_logout') }}">
74+
<form
75+
method="POST"
76+
action="{{ relative_path_for('user_logout') }}"
77+
>
7578
<button
7679
type="submit"
7780
class="btn"

0 commit comments

Comments
 (0)