mirror of
1
Fork 0

Merge pull request '[BUG] Fix unblock action' (#3086) from gusted/forgejo-unblock into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3086
This commit is contained in:
Earl Warren 2024-04-07 15:33:51 +00:00
commit ba2cd8ee64
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ func Action(ctx *context.Context) {
redirectViaJSON = true
case "unblock":
err = user_model.UnblockUser(ctx, ctx.Doer.ID, ctx.ContextUser.ID)
redirectViaJSON = true
}
if err != nil {