propro-utils 1.4.56 → 1.4.58
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 +3 -0
package/package.json
CHANGED
package/src/server/index.js
CHANGED
|
@@ -127,6 +127,9 @@ function proproAuthMiddleware(options = {}, userSchema) {
|
|
|
127
127
|
|
|
128
128
|
const urlToRedirect = formatRedirectUrl(redirectUrl);
|
|
129
129
|
|
|
130
|
+
console.log('Cookies set successfully', res.cookies);
|
|
131
|
+
console.log('Cookies set successfully', res.cookie);
|
|
132
|
+
|
|
130
133
|
return res.redirect(urlToRedirect);
|
|
131
134
|
}
|
|
132
135
|
} catch (error) {
|