Skip to content

Commit

Permalink
FIX :: username checker use error
Browse files Browse the repository at this point in the history
  • Loading branch information
Daybreak312 committed Jun 20, 2024
1 parent c5b7925 commit 2489e89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal class MaeumgagymTokenValidatorImpl(
throw AuthenticationException.EXPIRED_TOKEN
}

if (usernameValidator(maeumgagymToken.tokenId)) {
if (!usernameValidator(maeumgagymToken.username)) {
throw AuthenticationException.INVALID_TOKEN
}

Expand Down

0 comments on commit 2489e89

Please sign in to comment.