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