propro-utils 1.7.3 → 1.7.4
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
|
@@ -170,10 +170,8 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
|
|
|
170
170
|
...httpOnlyCookies,
|
|
171
171
|
...regularCookies,
|
|
172
172
|
}).map(([name, config]) => {
|
|
173
|
-
return
|
|
173
|
+
return res.cookie(name,config.value, {
|
|
174
174
|
url: `https://${domain || 'propro.so'}`,
|
|
175
|
-
name,
|
|
176
|
-
value: config.value,
|
|
177
175
|
secure: true,
|
|
178
176
|
httpOnly: !!config.httpOnly,
|
|
179
177
|
sameSite: 'no_restriction',
|