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:
parent
8618f20893
commit
c038888f63
3 changed files with 4 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue