Skip to content

Commit

Permalink
Merge pull request #556 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 1abee90 + 9478f1f commit 6228a1f
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 6228a1f

Please sign in to comment.