Sfoglia il codice sorgente

Add missing comment.

Mariano Cano 7 anni fa
parent
commit
a86dc78b5d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      authority/provisioner/jwk.go

+ 1 - 0
authority/provisioner/jwk.go

@@ -195,6 +195,7 @@ func (p *JWK) AuthorizeSSHSign(ctx context.Context, token string) ([]SignOption,
 
 	t := now()
 	// Add modifiers from custom claims
+	// FIXME: this is also set in the sign method using SSHOptions.Modify.
 	if opts.CertType != "" {
 		signOptions = append(signOptions, sshCertificateCertTypeModifier(opts.CertType))
 	}