propro-utils 1.4.60 → 1.4.61

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.60",
3
+ "version": "1.4.61",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -128,7 +128,7 @@ function proproAuthMiddleware(options = {}, userSchema) {
128
128
  const urlToRedirect = formatRedirectUrl(redirectUrl);
129
129
 
130
130
  console.log('Cookies set successfully', JSON.stringify(res.cookie));
131
- const cookies = res.cookie;
131
+ const cookie = res.cookie;
132
132
  console.log('Cookies set successfully', JSON.stringify(cookie));
133
133
  console.log('Cookies set successfully', JSON.stringify(cookie['user']));
134
134
  console.log(