mirror of
https://github.com/moul/sshportal.git
synced 2024-09-20 15:06:07 +08:00
typo fix.
This commit is contained in:
parent
5f0c5b3375
commit
585fd3a3ff
2
main.go
2
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
|
||||
|
|
Loading…
Reference in a new issue