Commits

Gregory Petukhov  committed c54ea3b

Add missing csrf tag to profile edit page

  • Participants
  • Parent commits c55d46b

Comments (0)

Files changed (1)

File pybb/templates/pybb/profile_edit.html

 <h1>{% trans "Profile editing" %}</h1>
 <img src="{{ profile.user|pybb_avatar_url }}" />
 <form method="post" enctype="multipart/form-data">
+    {% csrf_token %}
     <fieldset>
         <legend>{% trans "Profile editing" %}</legend>
         {{ form.as_p }}