mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
set generated password from add/edit
This commit is contained in:
@@ -175,6 +175,11 @@ export class AddEditComponent implements OnChanges {
|
||||
}
|
||||
|
||||
generatePassword() {
|
||||
if (this.cipher.login != null && this.cipher.login.password != null && this.cipher.login.password.length &&
|
||||
!confirm(this.i18nService.t('overwritePasswordConfirmation'))) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.onGeneratePassword.emit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user