mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Forbid promise misuse (#6360)
This commit is contained in:
@@ -205,6 +205,7 @@ export default class AutofillService implements AutofillServiceInterface {
|
||||
|
||||
if (
|
||||
options.cipher.type !== CipherType.Login ||
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
totpPromise ||
|
||||
!options.cipher.login.totp ||
|
||||
(!canAccessPremium && !options.cipher.organizationUseTotp)
|
||||
|
||||
Reference in New Issue
Block a user