Skip to content

Commit

Permalink
[BE] Feat : refresh token 만료시 401 응답
Browse files Browse the repository at this point in the history
  • Loading branch information
koomin1227 committed Dec 14, 2023
1 parent 1abee90 commit 9478f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/login/login.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class LoginService {
);
return { access_token: accessToken, refresh_token: refreshToken };
} else {
throw new HttpException('refresh token이 유효하지 않음', 403);
throw new HttpException('refresh token이 유효하지 않음', 401);
}
}

Expand Down

0 comments on commit 9478f1f

Please sign in to comment.