Skip to content

Commit

Permalink
Merge pull request #559 from boostcampwm2023/BE-ChangeRefresh-#555
Browse files Browse the repository at this point in the history
[BE] refresh token 만료시 401 응답
  • Loading branch information
namewhat99 authored Dec 14, 2023
2 parents 990fda7 + 5b2d98f commit 3324151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/login/login.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class LoginController {
const payload = this.loginService.validateToken(refreshToken, 'refresh');
return await this.loginService.refreshToken(refreshToken, payload);
} catch (e) {
throw new HttpException('refresh token이 유효하지 않음', 403);
throw new HttpException('refresh token이 유효하지 않음', 401);
}
}

Expand Down

0 comments on commit 3324151

Please sign in to comment.