mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
Update jslib (#1602)
* Update jslib * Update name of UserVerificationComponent
This commit is contained in:
parent
609c13faf4
commit
56808a7dbb
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 3b9ef68f4b01036c84321d6bb4c3c14288bf137b
|
Subproject commit 6bcadc4f408db2c150753f53a07d6f8888b6e9ff
|
@ -44,8 +44,8 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p>
|
</p>
|
||||||
<app-verify-master-password [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
<app-user-verification [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
||||||
|
@ -57,7 +57,7 @@ import { BadgeModule, ButtonModule } from "@bitwarden/components";
|
|||||||
import { InfiniteScrollModule } from "ngx-infinite-scroll";
|
import { InfiniteScrollModule } from "ngx-infinite-scroll";
|
||||||
import { ToastrModule } from "ngx-toastr";
|
import { ToastrModule } from "ngx-toastr";
|
||||||
|
|
||||||
import { VerifyMasterPasswordComponent } from "jslib-angular/components/verify-master-password.component";
|
import { UserVerificationComponent } from "jslib-angular/components/user-verification.component";
|
||||||
import { JslibModule } from "jslib-angular/jslib.module";
|
import { JslibModule } from "jslib-angular/jslib.module";
|
||||||
|
|
||||||
import { AcceptEmergencyComponent } from "./accounts/accept-emergency.component";
|
import { AcceptEmergencyComponent } from "./accounts/accept-emergency.component";
|
||||||
@ -431,11 +431,11 @@ registerLocaleData(localeZhTw, "zh-TW");
|
|||||||
UserBillingComponent,
|
UserBillingComponent,
|
||||||
UserLayoutComponent,
|
UserLayoutComponent,
|
||||||
UserSubscriptionComponent,
|
UserSubscriptionComponent,
|
||||||
|
UserVerificationComponent,
|
||||||
VaultComponent,
|
VaultComponent,
|
||||||
VaultTimeoutInputComponent,
|
VaultTimeoutInputComponent,
|
||||||
VerifyEmailComponent,
|
VerifyEmailComponent,
|
||||||
VerifyEmailTokenComponent,
|
VerifyEmailTokenComponent,
|
||||||
VerifyMasterPasswordComponent,
|
|
||||||
VerifyRecoverDeleteComponent,
|
VerifyRecoverDeleteComponent,
|
||||||
WeakPasswordsReportComponent,
|
WeakPasswordsReportComponent,
|
||||||
],
|
],
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ apiKeyDescription | i18n }}</p>
|
<p>{{ apiKeyDescription | i18n }}</p>
|
||||||
<app-verify-master-password
|
<app-user-verification
|
||||||
[(ngModel)]="masterPassword"
|
[(ngModel)]="masterPassword"
|
||||||
ngDefaultControl
|
ngDefaultControl
|
||||||
name="secret"
|
name="secret"
|
||||||
*ngIf="!clientSecret"
|
*ngIf="!clientSecret"
|
||||||
>
|
>
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
|
|
||||||
<app-callout type="warning" *ngIf="clientSecret">{{ apiKeyWarning | i18n }}</app-callout>
|
<app-callout type="warning" *ngIf="clientSecret">{{ apiKeyWarning | i18n }}</app-callout>
|
||||||
<app-callout
|
<app-callout
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ "deauthorizeSessionsDesc" | i18n }}</p>
|
<p>{{ "deauthorizeSessionsDesc" | i18n }}</p>
|
||||||
<app-callout type="warning">{{ "deauthorizeSessionsWarning" | i18n }}</app-callout>
|
<app-callout type="warning">{{ "deauthorizeSessionsWarning" | i18n }}</app-callout>
|
||||||
<app-verify-master-password [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
<app-user-verification [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ "deleteAccountDesc" | i18n }}</p>
|
<p>{{ "deleteAccountDesc" | i18n }}</p>
|
||||||
<app-callout type="warning">{{ "deleteAccountWarning" | i18n }}</app-callout>
|
<app-callout type="warning">{{ "deleteAccountWarning" | i18n }}</app-callout>
|
||||||
<app-verify-master-password [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
<app-user-verification [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ (organizationId ? "purgeOrgVaultDesc" : "purgeVaultDesc") | i18n }}</p>
|
<p>{{ (organizationId ? "purgeOrgVaultDesc" : "purgeVaultDesc") | i18n }}</p>
|
||||||
<app-callout type="warning">{{ "purgeVaultWarning" | i18n }}</app-callout>
|
<app-callout type="warning">{{ "purgeVaultWarning" | i18n }}</app-callout>
|
||||||
<app-verify-master-password [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
<app-user-verification [(ngModel)]="masterPassword" ngDefaultControl name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ "twoStepLoginAuthDesc" | i18n }}</p>
|
<p>{{ "twoStepLoginAuthDesc" | i18n }}</p>
|
||||||
<app-verify-master-password [(ngModel)]="secret" ngDefaultControl name="secret">
|
<app-user-verification [(ngModel)]="secret" ngDefaultControl name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-6">
|
<div class="form-group col-6">
|
||||||
<app-verify-master-password ngDefaultControl formControlName="secret" name="secret">
|
<app-user-verification ngDefaultControl formControlName="secret" name="secret">
|
||||||
</app-verify-master-password>
|
</app-user-verification>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary" [disabled]="form.loading || exportForm.disabled">
|
<button type="submit" class="btn btn-primary" [disabled]="form.loading || exportForm.disabled">
|
||||||
|
Loading…
Reference in New Issue
Block a user