Update serv.go (#7822)

small semantics fix
"Hi there, user!" looks better than "Hi there: user!"
This commit is contained in:
clavinet 2019-08-11 14:15:58 +02:00 committed by Lunny Xiao
parent 80d2c2575b
commit 8101d803e6

View file

@ -109,7 +109,7 @@ func runServ(c *cli.Context) error {
if key.Type == models.KeyTypeDeploy {
println("Hi there! You've successfully authenticated with the deploy key named " + key.Name + ", but Gitea does not provide shell access.")
} else {
println("Hi there: " + user.Name + "! You've successfully authenticated with the key named " + key.Name + ", but Gitea does not provide shell access.")
println("Hi there, " + user.Name + "! You've successfully authenticated with the key named " + key.Name + ", but Gitea does not provide shell access.")
}
println("If this is unexpected, please log in with password and setup Gitea under another user.")
return nil