fix(pi-hole): cached session not invalidated when changing password (#3351)
This commit is contained in:
@@ -77,6 +77,7 @@ export class PiHoleIntegrationV6 extends Integration implements DnsHoleSummaryIn
|
|||||||
protected async testingAsync({ fetchAsync }: IntegrationTestingInput): Promise<TestingResult> {
|
protected async testingAsync({ fetchAsync }: IntegrationTestingInput): Promise<TestingResult> {
|
||||||
const sessionId = await this.getSessionAsync(fetchAsync);
|
const sessionId = await this.getSessionAsync(fetchAsync);
|
||||||
await this.clearSessionAsync(sessionId, fetchAsync);
|
await this.clearSessionAsync(sessionId, fetchAsync);
|
||||||
|
await this.sessionStore.clearAsync();
|
||||||
return { success: true };
|
return { success: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user