mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
copy totp to clipboard from popup document in ff
This commit is contained in:
@@ -260,13 +260,15 @@ function initAutofill() {
|
||||
if (code) {
|
||||
self.utilsService.copyToClipboard(code);
|
||||
}
|
||||
|
||||
return code;
|
||||
});
|
||||
}
|
||||
|
||||
if (didAutofill) {
|
||||
if (totpPromise) {
|
||||
totpPromise.then(function () {
|
||||
deferred.resolve();
|
||||
totpPromise.then(function (totpCode) {
|
||||
deferred.resolve(totpCode);
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user