propro-utils 1.4.59 → 1.4.60
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 +1 -1
- package/src/server/index.js +6 -9
package/package.json
CHANGED
package/src/server/index.js
CHANGED
|
@@ -129,26 +129,23 @@ function proproAuthMiddleware(options = {}, userSchema) {
|
|
|
129
129
|
|
|
130
130
|
console.log('Cookies set successfully', JSON.stringify(res.cookie));
|
|
131
131
|
const cookies = res.cookie;
|
|
132
|
-
console.log('Cookies set successfully', JSON.stringify(
|
|
132
|
+
console.log('Cookies set successfully', JSON.stringify(cookie));
|
|
133
|
+
console.log('Cookies set successfully', JSON.stringify(cookie['user']));
|
|
133
134
|
console.log(
|
|
134
135
|
'Cookies set successfully',
|
|
135
|
-
JSON.stringify(
|
|
136
|
+
JSON.stringify(cookie['account'])
|
|
136
137
|
);
|
|
137
138
|
console.log(
|
|
138
139
|
'Cookies set successfully',
|
|
139
|
-
JSON.stringify(
|
|
140
|
+
JSON.stringify(cookie['x-refresh-token'])
|
|
140
141
|
);
|
|
141
142
|
console.log(
|
|
142
143
|
'Cookies set successfully',
|
|
143
|
-
JSON.stringify(
|
|
144
|
+
JSON.stringify(cookie['x-access-token'])
|
|
144
145
|
);
|
|
145
146
|
console.log(
|
|
146
147
|
'Cookies set successfully',
|
|
147
|
-
JSON.stringify(
|
|
148
|
-
);
|
|
149
|
-
console.log(
|
|
150
|
-
'Cookies set successfully',
|
|
151
|
-
JSON.stringify(cookies['has_account_token'])
|
|
148
|
+
JSON.stringify(cookie['has_account_token'])
|
|
152
149
|
);
|
|
153
150
|
|
|
154
151
|
// url
|