propro-utils 1.7.12 → 1.7.14
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
|
@@ -161,12 +161,12 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
|
|
|
161
161
|
([name, config]) => {
|
|
162
162
|
try{
|
|
163
163
|
console.log(domain,'Setting cookie 1:', {name, value: config.value})
|
|
164
|
-
|
|
164
|
+
res.cookie(name, config.value, {
|
|
165
165
|
...commonAttributes,
|
|
166
166
|
...config,
|
|
167
|
-
domain:
|
|
167
|
+
domain: undefined
|
|
168
168
|
});
|
|
169
|
-
console.log('Setting cookie 2:', {response})
|
|
169
|
+
// console.log('Setting cookie 2:', {response})
|
|
170
170
|
} catch (error) {
|
|
171
171
|
console.error('Error setting cookie: Object.entries', {
|
|
172
172
|
error: error.message,
|