aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.go b/server/main.go
index f90037b..500e713 100644
--- a/server/main.go
+++ b/server/main.go
@@ -99,7 +99,7 @@ func signHandler(a *appContext, w http.ResponseWriter, r *http.Request) (int, er
if err != nil {
return http.StatusInternalServerError, err
}
- signed, err := a.sshKeySigner.Sign(req)
+ signed, err := a.sshKeySigner.SignUserKey(req)
a.authprovider.Revoke(token)
if err != nil {
return http.StatusInternalServerError, err