mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +00:00
Fix parent auth cookies and ignore local secrets
This commit is contained in:
parent
65ae5d4a54
commit
80fde1386b
2 changed files with 8 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ export class ParentClient extends BaseClient {
|
|||
}
|
||||
|
||||
const cookies = String(response.headers.get("set-cookie"));
|
||||
// this.authCookies = cookies.split(";");
|
||||
this.authCookies = cookies.split(",");
|
||||
const sessionCookies = parseCookies(cookies);
|
||||
const sessionID = JSON.parse(
|
||||
String(sessionCookies.parent_session_credentials),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue