diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-04-20 21:39:32 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-04-20 21:39:32 +0100 |
commit | c7350ab6f1d8054d1bc6d2d14d071010bfb0e92f (patch) | |
tree | abb8e80a02b556710cb92804ed226d698707c4eb /server/main.go | |
parent | 8a452cd5e324b7b2b9ffea252b3f47c1349f97b6 (diff) |
Be explicit that this is for signing user keys
Diffstat (limited to 'server/main.go')
-rw-r--r-- | server/main.go | 2 |
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 |