forgejo/routers
Earl Warren 597c243707
[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.
2023-07-11 01:44:33 +02:00
..
api [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
private [CLI] implement forgejo-cli actions register 2023-07-10 18:01:01 +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-11 01:44:33 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-10 18:32:29 +02:00