forked from forgejo/forgejo
add repo router
This commit is contained in:
parent
a9a5fb45f8
commit
08feaf3ded
4 changed files with 34 additions and 5 deletions
2
serve.go
2
serve.go
|
@ -58,7 +58,7 @@ func runServ(*cli.Context) {
|
|||
|
||||
cmd := os.Getenv("SSH_ORIGINAL_COMMAND")
|
||||
if cmd == "" {
|
||||
printf("Hi %s! You've successfully authenticated, but Gogs does not provide shell access.\n", user.Name)
|
||||
println("Hi ", user.Name, "! You've successfully authenticated, but Gogs does not provide shell access.")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue