[ADN] Forgot to fix login
This commit is contained in:
parent
423ad7b2c9
commit
35777ecb58
1 changed files with 0 additions and 2 deletions
2
adn.ts
2
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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue