1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 12:24:01 +00:00

[PM-18721] add password generator and copy() method

This commit is contained in:
rr-bw
2025-05-21 15:55:21 -07:00
parent ed0f198ffe
commit 8e672cef32
3 changed files with 46 additions and 2 deletions

View File

@@ -35,6 +35,22 @@
type="password"
formControlName="newPassword"
/>
<button
*ngIf="flow === InputPasswordFlow.ChangePasswordDelegation"
type="button"
bitIconButton="bwi-generate"
bitSuffix
[appA11yTitle]="'generatePassword' | i18n"
(click)="generatePassword()"
></button>
<button
*ngIf="flow === InputPasswordFlow.ChangePasswordDelegation"
type="button"
bitSuffix
bitIconButton="bwi-clone"
appA11yTitle="{{ 'copyPassword' | i18n }}"
(click)="copy()"
></button>
<button
type="button"
bitIconButton