We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d93209 commit a7a47dbCopy full SHA for a7a47db
templates/cli/lib/client.js.twig
@@ -154,7 +154,11 @@ class Client {
154
155
let cookies = response.headers.getSetCookie();
156
if (cookies && cookies.length > 0) {
157
- globalConfig.setCookie(cookies[0]);
+ let cookieString = globalConfig.getCookie();
158
+ cookies.forEach((cookie) => {
159
+ cookieString += cookie.split(";")[0] + ";";
160
+ });
161
+ globalConfig.setCookie(cookieString);
162
}
163
164
const text = await response.text();
@@ -185,4 +189,4 @@ class Client {
185
189
186
190
187
191
188
-module.exports = Client;
192
+module.exports = Client;
0 commit comments