mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
use clearCache
This commit is contained in:
@@ -27,7 +27,7 @@ export class SettingsService implements SettingsServiceAbstraction {
|
|||||||
|
|
||||||
async clear(userId: string): Promise<void> {
|
async clear(userId: string): Promise<void> {
|
||||||
await this.storageService.remove(Keys.settingsPrefix + userId);
|
await this.storageService.remove(Keys.settingsPrefix + userId);
|
||||||
this.settingsCache = null;
|
this.clearCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helpers
|
// Helpers
|
||||||
|
|||||||
Reference in New Issue
Block a user