From 585fd3a3ff54c14d0efc088a6f0f0c95d208a15e Mon Sep 17 00:00:00 2001 From: Manuel Date: Thu, 21 Dec 2017 15:35:26 +0100 Subject: [PATCH] typo fix. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c140244..5b6c21c 100644 --- a/main.go +++ b/main.go @@ -214,7 +214,7 @@ func server(c *cli.Context) error { if userKey.UserID > 0 { db.Preload("Roles").Where("id = ?", userKey.UserID).First(&user) if strings.HasPrefix(username, "invite:") { - ctx.SetValue(errorContextKey, fmt.Errorf("invites are only supported for ney SSH keys; your ssh key is already associated with the user %q", user.Email)) + ctx.SetValue(errorContextKey, fmt.Errorf("invites are only supported for new SSH keys; your ssh key is already associated with the user %q", user.Email)) } ctx.SetValue(userContextKey, user) return true