1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 13:41:39 +02:00
gitea/cmd
Gusted 606e33d38a
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>
2022-04-05 16:28:10 -04:00
..
admin_auth_ldap_test.go
admin_auth_ldap.go
admin.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump_repo.go
dump.go
embedded_stub.go
embedded.go
generate.go
hook_test.go
hook.go
keys.go
mailer.go
manager_logging.go Remove legacy unknwon/com package (#19298) 2022-04-02 00:34:57 +08:00
manager.go
migrate_storage.go
migrate.go
restore_repo.go
serv.go Warn on SSH connection for incorrect configuration (#19317) 2022-04-05 16:28:10 -04:00
web_acme.go
web_graceful.go
web_https.go
web.go