mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
fix: Updated styles and copy, simpler logic
This commit is contained in:
@@ -255,13 +255,12 @@ export default class AutofillService implements AutofillServiceInterface {
|
||||
}
|
||||
|
||||
const copyTotpOnAutoFill = await this.totpService.isAutoCopyOnAutoFillEnabled();
|
||||
const enableAutoFill = await this.totpService.isAutoCopyEnabled();
|
||||
const shouldCopyTotp = copyTotpOnAutoFill && enableAutoFill;
|
||||
const shouldCopyTotp = fromCommand || copyTotpOnAutoFill;
|
||||
|
||||
const totpCode = await this.doAutoFill({
|
||||
cipher: cipher,
|
||||
pageDetails: pageDetails,
|
||||
skipTotp: !fromCommand && !shouldCopyTotp,
|
||||
skipTotp: !shouldCopyTotp,
|
||||
skipLastUsed: !fromCommand,
|
||||
skipUsernameOnlyFill: !fromCommand,
|
||||
onlyEmptyFields: !fromCommand,
|
||||
|
||||
Reference in New Issue
Block a user