totp settings fix

This commit is contained in:
Kyle Spearrin 2017-11-06 14:20:59 -05:00
parent 530ed94d3c
commit 7bf681c291
1 changed files with 1 additions and 1 deletions

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