mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-17 07:12:32 +00:00
Add ability to ban users with a case
This commit is contained in:
parent
d540a54cd8
commit
842e161d7e
7 changed files with 18 additions and 92 deletions
|
@ -118,7 +118,7 @@ public class AdminUserController : ControllerBase
|
|||
}
|
||||
else
|
||||
{
|
||||
return this.Redirect($"/moderation/user/{id}/ban");
|
||||
return this.Redirect($"/moderation/newCase?type={(int)CaseType.UserBan}&affectedId={id}");
|
||||
}
|
||||
|
||||
return this.Redirect("/admin/users");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue