1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-14 11:48:09 -05:00
forgejo/routers/web/user/setting/security
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132)
The JSONRedirect/JSONOK/JSONError functions were put into "Base" context
incorrectly, it would cause abuse.

Actually, they are for "web context" only, so, move them to the correct
place.

And by the way, use them to simplify old code: +75 -196
2023-07-26 06:04:01 +00:00
..
2fa.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
openid.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
security.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
webauthn.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00