diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-04-05 22:28:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 16:28:10 -0400 |
commit | 606e33d38a3aa64c54dcecf5288b77ddfe4194db (patch) | |
tree | 3a4efd8337d7da0906685baba1832f01ea9c305b /templates/api | |
parent | d4f4e95c6381ec2e8049b7bfc6c3cbee0abb63c3 (diff) | |
download | gitea-606e33d38a3aa64c54dcecf5288b77ddfe4194db.tar.gz gitea-606e33d38a3aa64c54dcecf5288b77ddfe4194db.zip |
Warn on SSH connection for incorrect configuration (#19317)
* Warn on SSH connection for incorrect configuration
- When `setting.RepoRootPath` cannot be found(most likely due to
incorrect configuration) show "Gitea: Incorrect configuration" on the
client-side to help easier with debugging the problem.
* Update cmd/serv.go
Co-authored-by: delvh <dev.lh@web.de>
* Don't leak configuration
* Update cmd/serv.go
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/api')
0 files changed, 0 insertions, 0 deletions