forgejo/routers
Earl Warren cfa539e590
[MODERATION] restore redirect on unblock
ctx.RedirectToFirst(ctx.FormString("redirect_to"), ctx.ContextUser.HomeLink())

was replaced by

 ctx.JSONOK()

in 128d77a3a Following up fixes for "Fix inconsistent user profile layout across tabs" (#25739)

thus changing the behavior (nicely spotted by the tests). This
restores it.

(cherry picked from commit 597c243707)
2023-07-17 00:21:29 +02:00
..
api [MODERATION] add user blocking API 2023-07-17 00:21:29 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private [CLI] implement forgejo-cli actions register 2023-07-16 23:15:13 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [MODERATION] restore redirect on unblock 2023-07-17 00:21:29 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-16 23:40:30 +02:00