Mariano Cano 7 лет назад
Родитель
Сommit
7b8f0327bd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/api.go

+ 1 - 1
api/api.go

@@ -250,7 +250,7 @@ func (h *caHandler) Route(r Router) {
 	r.MethodFunc("GET", "/roots", h.Roots)
 	r.MethodFunc("GET", "/federation", h.Federation)
 	// SSH CA
-	r.MethodFunc("GET", "/ssh/sign", h.SignSSH)
+	r.MethodFunc("POST", "/ssh/sign", h.SignSSH)
 	r.MethodFunc("GET", "/ssh/keys", h.SSHKeys)
 
 	// For compatibility with old code: