mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-21 13:38:00 +02:00
Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
This commit is contained in:
@ -136,7 +136,7 @@ func runServ(c *cli.Context) {
|
||||
|
||||
setup("serv.log")
|
||||
|
||||
if setting.DisableSSH {
|
||||
if setting.SSH.Disabled {
|
||||
println("Gogs: SSH has been disabled")
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user