Browse Source

Исправление рефреша

Vadim 3 tháng trước cách đây
mục cha
commit
100756ad80
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/modules/users/auth/routers/auth-controller.ts

+ 2 - 0
src/modules/users/auth/routers/auth-controller.ts

@@ -301,6 +301,8 @@ class authController {
       newTokens.refreshToken,
     );
 
+    tokenService.setRefreshTokenInCookie(res, refreshToken);
+
     RouterUtils.validAndSendResponse(api.auth.POST_Refresh.res, res, {
       code: "success",