propro-utils 1.4.32 → 1.4.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.4.32",
3
+ "version": "1.4.34",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -151,17 +151,17 @@ function proproAuthMiddleware(options = {}, userSchema) {
151
151
  maxAge: accessMaxAge,
152
152
  });
153
153
 
154
- res.cookie('user', JSON.stringify(user), {
155
- maxAge: accessMaxAge,
156
- });
154
+ // res.cookie('user', JSON.stringify(user), {
155
+ // maxAge: accessMaxAge,
156
+ // });
157
157
 
158
- res.cookie('account', JSON.stringify(account), {
159
- maxAge: accessMaxAge,
160
- });
158
+ // res.cookie('account', JSON.stringify(account), {
159
+ // maxAge: accessMaxAge,
160
+ // });
161
161
 
162
- req.cookie('isLoggedIn', true, {
163
- maxAge: accessMaxAge,
164
- });
162
+ // req.cookie('isLoggedIn', true, {
163
+ // maxAge: accessMaxAge,
164
+ // });
165
165
 
166
166
  console.log('redirectUrl', redirectUrl);
167
167