[PM-8833] Reworking how we handle adding a password to history
This commit is contained in:
parent
ab681e79eb
commit
ef462a1b51
|
@ -1512,6 +1512,7 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
|||
*/
|
||||
private async generatePassword(): Promise<void> {
|
||||
this.generatedPassword = await this.generatePasswordCallback();
|
||||
await this.addPasswordCallback(this.generatedPassword);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1537,8 +1538,6 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
|||
return;
|
||||
}
|
||||
|
||||
await this.addPasswordCallback(this.generatedPassword);
|
||||
|
||||
const pageDetails = this.pageDetailsForTab[port.sender.tab.id];
|
||||
if (!pageDetails) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue