1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-16 16:59:30 +00:00

[PM-18721] cleanup

This commit is contained in:
rr-bw
2025-05-22 11:11:07 -07:00
parent 31d70e5b13
commit 8c062e9447
2 changed files with 1 additions and 7 deletions

View File

@@ -4,13 +4,10 @@
{{ "takeover" | i18n }}
<small class="tw-text-muted" *ngIf="params.name">{{ params.name }}</small>
</span>
<div bitDialogContent>
<bit-callout type="warning">{{ "loggedOutWarning" | i18n }}</bit-callout>
<auth-password-callout [policy]="enforcedPolicyOptions" *ngIf="enforcedPolicyOptions">
</auth-password-callout>
<div class="tw-w-full tw-flex tw-gap-4">
<div class="tw-relative tw-flex-1">
<bit-form-field disableMargin class="tw-mb-2">
@@ -23,7 +20,6 @@
/>
<button type="button" bitSuffix bitIconButton bitPasswordInputToggle></button>
</bit-form-field>
<app-password-strength
[password]="takeoverForm.value.masterPassword"
[email]="email"
@@ -32,7 +28,6 @@
>
</app-password-strength>
</div>
<div class="tw-relative tw-flex-1">
<bit-form-field disableMargin class="tw-mb-2">
<bit-label>{{ "confirmNewMasterPass" | i18n }}</bit-label>
@@ -47,7 +42,6 @@
</div>
</div>
</div>
<ng-container bitDialogFooter>
<button type="submit" bitButton bitFormButton buttonType="primary">
{{ "save" | i18n }}

View File

@@ -626,7 +626,7 @@ export class InputPasswordComponent implements OnInit {
);
}
copy() {
protected copy() {
const value = this.formGroup.value.newPassword;
if (value == null) {
return;