core: fix code comment

This commit is contained in:
Derrick Hammer 2023-04-30 02:46:11 -04:00
parent 593410c137
commit c42d2b5dfe
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -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() { func (a *AuthService) PostPubkeyChallenge() {
var r LoginRequest 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() { func (a *AuthService) PostPubkeyLogin() {
var r PubkeyLoginRequest var r PubkeyLoginRequest