Skip to content

Commit

Permalink
fix: add default token for develop
Browse files Browse the repository at this point in the history
  • Loading branch information
HwanGonJang committed Nov 27, 2023
1 parent c3ceed1 commit 377921a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class JwtVerifier(
}

fun verifyToken(bearerToken: String): TokenDto {
// TODO: 실제 토큰을 넣어도 무시해버림 수정 필요
if (profile in alwaysAllowProfiles) {
if (bearerToken == "Bearer test") {
return TokenDto(userId = 2, userRole = "STUDENT")
}

Expand Down

0 comments on commit 377921a

Please sign in to comment.