mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-13 07:10:28 +00:00
Fix return of host configurations.
This commit is contained in:
parent
7a8ec397ac
commit
15390fc636
@ -339,7 +339,7 @@ func (h *caHandler) SSHConfig(w http.ResponseWriter, r *http.Request) {
|
|||||||
case provisioner.SSHUserCert:
|
case provisioner.SSHUserCert:
|
||||||
config.UserTemplates = ts
|
config.UserTemplates = ts
|
||||||
case provisioner.SSHHostCert:
|
case provisioner.SSHHostCert:
|
||||||
config.UserTemplates = ts
|
config.HostTemplates = ts
|
||||||
default:
|
default:
|
||||||
WriteError(w, InternalServerError(errors.New("it should hot get here")))
|
WriteError(w, InternalServerError(errors.New("it should hot get here")))
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user