1
0
Fork 0

Change url for edit_profile_page.

Fixes inaccessible edit form. /user/edit/ resolved to a user called edit
first. Also prevents a user accessing another user's edit form.
This commit is contained in:
Adam Kelly 2020-03-08 16:39:59 +00:00
parent 8618f20893
commit c038888f63
3 changed files with 4 additions and 8 deletions

View file

@ -16,7 +16,7 @@
{% if is_self %}
<div class="interaction">
<a href="/user/edit">Edit profile</a>
<a href="/edit_profile_page/">Edit profile</a>
</div>
{% endif %}
</div>