fix: redirect to user-specific following list after follow action

This commit is contained in:
2026-05-13 23:23:47 +02:00
parent fdd61ae701
commit 5edac78add

View File

@@ -6,7 +6,7 @@
{% endif %} {% endif %}
<form method="POST" action="/users/{{ user_id }}/follow" class="follow-form"> <form method="POST" action="/users/{{ user_id }}/follow" class="follow-form">
<input type="hidden" name="_csrf" value="{{ ctx.csrf_token }}"> <input type="hidden" name="_csrf" value="{{ ctx.csrf_token }}">
<input type="hidden" name="redirect_after" value="/social/following"> <input type="hidden" name="redirect_after" value="/users/{{ user_id }}/following-list">
<input type="text" name="handle" placeholder="@user@instance.tld" required> <input type="text" name="handle" placeholder="@user@instance.tld" required>
<button type="submit">Follow</button> <button type="submit">Follow</button>
</form> </form>