2021-10-21 23:30:25 +02:00
|
|
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="updateEncKeyTitle">
|
2021-05-14 21:03:45 +02:00
|
|
|
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
2018-07-17 23:22:51 +02:00
|
|
|
<form
|
|
|
|
class="modal-content"
|
|
|
|
#form
|
|
|
|
(ngSubmit)="submit()"
|
|
|
|
[appApiAction]="formPromise"
|
|
|
|
ngNativeValidate
|
|
|
|
>
|
|
|
|
<div class="modal-header">
|
2019-10-11 17:47:41 +02:00
|
|
|
<h2 class="modal-title" id="updateEncKeyTitle">{{ "updateEncryptionKey" | i18n }}</h2>
|
2019-10-11 17:22:21 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="close"
|
|
|
|
data-dismiss="modal"
|
|
|
|
appA11yTitle="{{ 'close' | i18n }}"
|
|
|
|
>
|
2018-07-17 23:22:51 +02:00
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>
|
|
|
|
{{ "updateEncryptionKeyShortDesc" | i18n }} {{ "updateEncryptionKeyDesc" | i18n }}
|
2019-02-21 22:50:37 +01:00
|
|
|
<a
|
2022-01-31 20:11:27 +01:00
|
|
|
href="https://bitwarden.com/help/account-encryption-key/#rotate-your-encryption-key"
|
2019-02-21 22:50:37 +01:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener"
|
|
|
|
>{{ "learnMore" | i18n }}</a
|
|
|
|
>
|
2018-07-17 23:22:51 +02:00
|
|
|
</p>
|
|
|
|
<app-callout type="warning">{{ "updateEncryptionKeyWarning" | i18n }}</app-callout>
|
|
|
|
<label for="masterPassword">{{ "masterPass" | i18n }}</label>
|
2019-02-21 22:50:37 +01:00
|
|
|
<input
|
|
|
|
id="masterPassword"
|
|
|
|
type="password"
|
|
|
|
name="MasterPasswordHash"
|
|
|
|
class="form-control"
|
|
|
|
[(ngModel)]="masterPassword"
|
|
|
|
required
|
|
|
|
appAutofocus
|
|
|
|
appInputVerbatim
|
|
|
|
/>
|
2018-07-17 23:22:51 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2018-07-18 05:15:15 +02:00
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
2018-07-17 23:22:51 +02:00
|
|
|
<span>{{ "updateEncryptionKey" | i18n }}</span>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">
|
|
|
|
{{ "close" | i18n }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|