You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an admin, when you try to delete a user with purge=true, it panics. This is done using the API, so the url would be something like https://localhost:3000/api/v1/admin/users/foo?purge=true.
Running locally using make watch command on the command-line.
Steps to reproduce:
Create an admin user
Create 2 non-admin user
Using httpie, run http :3000/api/v1/admin/users/{username}?purge=false --auth username:password for the first user and then use purge=true for the second user
When purge is true, it panics.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered:
Description
As an admin, when you try to delete a user with
purge=true
, it panics. This is done using the API, so the url would be something likehttps://localhost:3000/api/v1/admin/users/foo?purge=true
.Gitea Version
c0f5111
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/dhruvmanila/9c8a2c45dd31247dd993cfbfa3db2922
Screenshots
No response
Git Version
No response
Operating System
macOS
How are you running Gitea?
Running locally using
make watch
command on the command-line.Steps to reproduce:
httpie
, runhttp :3000/api/v1/admin/users/{username}?purge=false --auth username:password
for the first user and then usepurge=true
for the second userWhen purge is true, it panics.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: