mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-05 07:20:13 +01:00
fix: access token refreshes even it is still valid
This commit is contained in:
parent
72c8081e7c
commit
c8ad2225e3
@ -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…
Reference in New Issue
Block a user