1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-29 17:38:04 +01: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> {
return await UtilsService.getObjFromStorage<boolean>(ConstantsService.disableAutoTotpCopyKey);
return !(await UtilsService.getObjFromStorage<boolean>(ConstantsService.disableAutoTotpCopyKey));
}
// Helpers