pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Bizarre HTML in the admin panel profile section, all moderation action buttons do not work. #139

Closed samihsoylu closed 2 years ago

samihsoylu commented 3 years ago

In the admin panel profile section, all moderation action buttons do not work.

image

This can be seen in:

Each button is wrapped inside a <form> element. And as you can see the only fields provided are the profile_id and the csrf properties. This means the validate inside of AdminUserController::userModerate() will never succeed because an action property is required. Additionally, other non-moderator buttons direct you to the wrong url

I don't mean to be rude, but how was this ever expected to work? 🤦🏻 Do you guys test at all?

Somebody please let me know if I am missing something, or if I am completely understanding this wrong. It is very unlikely that someone would overlook this.