From c42d2b5dfe91addedc621a562f4b42476ca6909e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 30 Apr 2023 02:46:11 -0400 Subject: [PATCH] core: fix code comment --- service/auth_service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/auth_service.go b/service/auth_service.go index 7dc262f..ceeffdf 100644 --- a/service/auth_service.go +++ b/service/auth_service.go @@ -168,7 +168,7 @@ func (a *AuthService) PostLogin() { } } -// PostChallenge handles the POST /api/auth/pubkey-challenge request to generate a challenge for a user's public key. +// PostChallenge handles the POST /api/auth/pubkey/challenge request to generate a challenge for a user's public key. func (a *AuthService) PostPubkeyChallenge() { var r LoginRequest @@ -199,7 +199,7 @@ func (a *AuthService) PostPubkeyChallenge() { } } -// PostKeyLogin handles the POST /api/auth/pubkey-login request to authenticate a user using a public key challenge and return a JWT token. +// PostKeyLogin handles the POST /api/auth/pubkey/login request to authenticate a user using a public key challenge and return a JWT token. func (a *AuthService) PostPubkeyLogin() { var r PubkeyLoginRequest