Skip to content

Commit

Permalink
Add method to the form
Browse files Browse the repository at this point in the history
  • Loading branch information
koldakov committed Jul 13, 2024
1 parent 6bc6ed6 commit d8566f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
href="{{ relative_path_for('user_auth') }}"
>Sign In</a>
{% else %}
<form action="{{ relative_path_for('user_logout') }}">
<form
method="POST"
action="{{ relative_path_for('user_logout') }}"
>
<button
type="submit"
class="btn"
Expand Down

0 comments on commit d8566f8

Please sign in to comment.