gitea/routers
a1012112796 fec8324026
add a new internal hook to save ssh log (#15787)
* add a new internal hook to save ssh log

as title, when a ssh error ocure like #15785.
only when switch ``RUN_MODE`` to dev can we
found which error is ocure. But this way is
not a good idea for production envirment.

this changes try save ssh error mesage to the
log file like other log by a new internal hook.
I think it's usefull for find error message
in production envirment. Thanks.

Signed-off-by: a1012112796 <1012112796@qq.com>

* rename and fix nit

* Update modules/private/hook.go

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-05-21 17:37:16 -04:00
..
admin Close the gitrepo when deleting the repository (#15876) 2021-05-14 21:19:38 +01:00
api/v1 api: fix overly strict edit pr permissions (#15900) 2021-05-19 10:48:48 -04:00
dev
events Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
org Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
private add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
repo Restore token authentication for git http when 2FA active (#15915) 2021-05-18 22:30:33 -04:00
routes Prevent double-login for Git HTTP and LFS and simplify login (#15303) 2021-05-15 17:32:09 +02:00
user Fix goth user infer bug (#15821) 2021-05-10 16:31:32 +01:00
utils
home.go
init.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
install.go
metrics.go
swagger_json.go