Skip to content

Commit

Permalink
fix: allow progress to next client key if unmatched
Browse files Browse the repository at this point in the history
  • Loading branch information
David le Blanc authored and libvoid committed Jun 6, 2023
1 parent 2db9c87 commit db0eac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bastion/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,6 @@ func PublicKeyAuthHandler(db *gorm.DB, logsLocation, aclCheckCmd, aesKey, dbDriv
// fallback
actx.err = errors.New("unknown ssh key")
actx.user = dbmodels.User{Name: "Anonymous"}
return true
return false
}
}

0 comments on commit db0eac8

Please sign in to comment.