2022-05-09 14:21:52 +02:00
|
|
|
<div class="tabbed-header">
|
|
|
|
<h1>{{ "changeMasterPassword" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<bit-callout type="warning">{{ "loggedOutWarning" | i18n }}</bit-callout>
|
2021-12-17 15:57:11 +01:00
|
|
|
<app-callout
|
|
|
|
type="info"
|
|
|
|
[enforcedPolicyOptions]="enforcedPolicyOptions"
|
|
|
|
*ngIf="enforcedPolicyOptions"
|
|
|
|
>
|
2020-03-03 17:20:28 +01:00
|
|
|
</app-callout>
|
|
|
|
|
2018-07-30 14:00:23 +02:00
|
|
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate autocomplete="off">
|
2021-12-17 15:57:11 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="currentMasterPassword">{{ "currentMasterPass" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="currentMasterPassword"
|
|
|
|
type="password"
|
|
|
|
name="MasterPasswordHash"
|
|
|
|
class="form-control"
|
|
|
|
[(ngModel)]="currentMasterPassword"
|
|
|
|
required
|
|
|
|
appInputVerbatim
|
|
|
|
/>
|
|
|
|
</div>
|
2018-08-28 04:40:03 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="newMasterPassword">{{ "newMasterPass" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="newMasterPassword"
|
|
|
|
type="password"
|
|
|
|
name="NewMasterPasswordHash"
|
|
|
|
class="form-control mb-1"
|
|
|
|
[(ngModel)]="masterPassword"
|
|
|
|
(input)="updatePasswordStrength()"
|
|
|
|
required
|
|
|
|
appInputVerbatim
|
|
|
|
autocomplete="new-password"
|
|
|
|
/>
|
|
|
|
<app-password-strength
|
|
|
|
[score]="masterPasswordScore"
|
|
|
|
[showText]="true"
|
|
|
|
></app-password-strength>
|
|
|
|
</div>
|
2018-06-21 21:30:17 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
<div class="col-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="masterPasswordRetype">{{ "confirmNewMasterPass" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="masterPasswordRetype"
|
|
|
|
type="password"
|
|
|
|
name="MasterPasswordRetype"
|
|
|
|
class="form-control"
|
|
|
|
[(ngModel)]="masterPasswordRetype"
|
|
|
|
required
|
|
|
|
appInputVerbatim
|
|
|
|
autocomplete="new-password"
|
|
|
|
/>
|
|
|
|
</div>
|
2018-11-13 17:06:16 +01:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-check">
|
|
|
|
<input
|
|
|
|
class="form-check-input"
|
|
|
|
type="checkbox"
|
|
|
|
id="rotateEncKey"
|
|
|
|
name="RotateEncKey"
|
|
|
|
[(ngModel)]="rotateEncKey"
|
|
|
|
(change)="rotateEncKeyClicked()"
|
|
|
|
/>
|
|
|
|
<label class="form-check-label" for="rotateEncKey">
|
|
|
|
{{ "rotateAccountEncKey" | i18n }}
|
|
|
|
</label>
|
|
|
|
<a
|
2022-01-31 20:11:27 +01:00
|
|
|
href="https://bitwarden.com/help/account-encryption-key/#rotate-your-encryption-key"
|
2021-12-17 15:57:11 +01:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener"
|
|
|
|
appA11yTitle="{{ 'learnMore' | i18n }}"
|
|
|
|
>
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
|
2021-12-17 15:57:11 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-29 16:27:42 +02:00
|
|
|
<bit-submit-button [loading]="form.loading">
|
|
|
|
{{ "changeMasterPassword" | i18n }}
|
|
|
|
</bit-submit-button>
|
2018-06-21 21:30:17 +02:00
|
|
|
</form>
|