1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

totp settings fix

This commit is contained in:
Kyle Spearrin
2017-11-06 14:20:59 -05:00
parent 530ed94d3c
commit 7bf681c291

View File

@@ -32,7 +32,7 @@ export default class TotpService {
} }
async isAutoCopyEnabled(): Promise<boolean> { async isAutoCopyEnabled(): Promise<boolean> {
return await UtilsService.getObjFromStorage<boolean>(ConstantsService.disableAutoTotpCopyKey); return !(await UtilsService.getObjFromStorage<boolean>(ConstantsService.disableAutoTotpCopyKey));
} }
// Helpers // Helpers