Open asinck opened 7 years ago
The deactivation seems to work correctly though - the page says that the ban has ended.
What do you mean by "deactivation?"
How are you deleting the ban?
I used the "Expire" button. I had to put the ban end date in the future to make that button appear though.
So when you expire a ban, it should return to the bans page? Should you not be able to edit an expired ban? Or what did you have in mind?
I think it might be better to have some sort of visual indication that you're editing a ban that's expired, such as in the in-page title (ie, "allejo's expired ban") or in the button (ie, "Edit Expired Ban" or "Edit/Reactivate Ban"). Up to you.
From here, it's possible to edit the ban, thus reactivating it. Idk if that's intended behavior.