fix: PostPubkeyChallenge should be using ChallengeRequest

This commit is contained in:
Derrick Hammer 2023-06-06 22:27:34 -04:00
parent db3ba1f014
commit 36745bb55b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ func (a *AuthController) PostLogin() {
// PostChallenge handles the POST /api/auth/pubkey/challenge request to generate a challenge for a user's public key.
func (a *AuthController) PostPubkeyChallenge() {
var r LoginRequest
var r ChallengeRequest
// Read the login request from the client.
if err := a.Ctx.ReadJSON(&r); err != nil {