mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
fix: access token refreshes even it is still valid
This commit is contained in:
parent
72c8081e7c
commit
c8ad2225e3
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export class AuthController {
|
|||
const accessToken = await this.authService.refreshAccessToken(
|
||||
request.cookies.refresh_token
|
||||
);
|
||||
response.cookie("access_token", accessToken, { httpOnly: true });
|
||||
response.cookie("access_token", accessToken);
|
||||
return { accessToken };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue