From 35777ecb58405180499d9bc26686288f53ba9ae9 Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Sun, 28 Jul 2024 09:15:29 -0700 Subject: [PATCH] [ADN] Forgot to fix login --- adn.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/adn.ts b/adn.ts index 1d98bcf..8d6db22 100644 --- a/adn.ts +++ b/adn.ts @@ -204,8 +204,6 @@ export default class AnimationDigitalNetwork implements ServiceClass { return { isOk: false, reason: new Error('Authentication failed') }; } this.token = await authReq.res.json(); - const cookies = this.parseCookies(authReq.res.headers.get('Set-Cookie')); - this.token.refreshToken = cookies.adnrt; yamlCfg.saveADNToken(this.token); console.info('Authentication Success'); return { isOk: true, value: undefined };