diff --git a/src/services/totp.service.ts b/src/services/totp.service.ts index a0f1e19f40..58342a91da 100644 --- a/src/services/totp.service.ts +++ b/src/services/totp.service.ts @@ -32,7 +32,7 @@ export default class TotpService { } async isAutoCopyEnabled(): Promise { - return await UtilsService.getObjFromStorage(ConstantsService.disableAutoTotpCopyKey); + return !(await UtilsService.getObjFromStorage(ConstantsService.disableAutoTotpCopyKey)); } // Helpers