Update authority/authority.go

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
Carl Tashian 2022-03-22 07:38:09 -07:00 committed by GitHub
parent 91be50cf70
commit 25cc9a1728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -543,7 +543,7 @@ func (a *Authority) init() error {
if tmplVars.SSH.HostKey != nil {
log.Printf("SSH Host CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.HostKey))
}
if tmplVars.SSH.HostKey != nil {
if tmplVars.SSH.UserKey != nil {
log.Printf("SSH User CA Key: %s\n", ssh.MarshalAuthorizedKey(tmplVars.SSH.UserKey))
}