mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
Update jslib (#1490)
* Update jslib * Update name of UserVerificationComponent
This commit is contained in:
parent
3862a19571
commit
a4ca9bf64c
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit f3a4fde513dc16779e85597bd00027b160671db7
|
Subproject commit 6bcadc4f408db2c150753f53a07d6f8888b6e9ff
|
@ -83,7 +83,7 @@ import { AppRoutingModule } from "./app-routing.module";
|
|||||||
import { AppComponent } from "./app.component";
|
import { AppComponent } from "./app.component";
|
||||||
import { PasswordRepromptComponent } from "./components/password-reprompt.component";
|
import { PasswordRepromptComponent } from "./components/password-reprompt.component";
|
||||||
import { SetPinComponent } from "./components/set-pin.component";
|
import { SetPinComponent } from "./components/set-pin.component";
|
||||||
import { VerifyMasterPasswordComponent } from "./components/verify-master-password.component";
|
import { UserVerificationComponent } from "./components/user-verification.component";
|
||||||
import { AccountSwitcherComponent } from "./layout/account-switcher.component";
|
import { AccountSwitcherComponent } from "./layout/account-switcher.component";
|
||||||
import { HeaderComponent } from "./layout/header.component";
|
import { HeaderComponent } from "./layout/header.component";
|
||||||
import { NavComponent } from "./layout/nav.component";
|
import { NavComponent } from "./layout/nav.component";
|
||||||
@ -212,9 +212,9 @@ registerLocaleData(localeZhTw, "zh-TW");
|
|||||||
TwoFactorComponent,
|
TwoFactorComponent,
|
||||||
TwoFactorOptionsComponent,
|
TwoFactorOptionsComponent,
|
||||||
UpdateTempPasswordComponent,
|
UpdateTempPasswordComponent,
|
||||||
|
UserVerificationComponent,
|
||||||
VaultComponent,
|
VaultComponent,
|
||||||
VaultTimeoutInputComponent,
|
VaultTimeoutInputComponent,
|
||||||
VerifyMasterPasswordComponent,
|
|
||||||
ViewComponent,
|
ViewComponent,
|
||||||
ViewCustomFieldsComponent,
|
ViewCustomFieldsComponent,
|
||||||
],
|
],
|
||||||
|
@ -2,16 +2,16 @@ import { animate, style, transition, trigger } from "@angular/animations";
|
|||||||
import { Component } from "@angular/core";
|
import { Component } from "@angular/core";
|
||||||
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
||||||
|
|
||||||
import { VerifyMasterPasswordComponent as BaseComponent } from "jslib-angular/components/verify-master-password.component";
|
import { UserVerificationComponent as BaseComponent } from "jslib-angular/components/user-verification.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-verify-master-password",
|
selector: "app-user-verification",
|
||||||
templateUrl: "verify-master-password.component.html",
|
templateUrl: "user-verification.component.html",
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: NG_VALUE_ACCESSOR,
|
provide: NG_VALUE_ACCESSOR,
|
||||||
multi: true,
|
multi: true,
|
||||||
useExisting: VerifyMasterPasswordComponent,
|
useExisting: UserVerificationComponent,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
animations: [
|
animations: [
|
||||||
@ -20,4 +20,4 @@ import { VerifyMasterPasswordComponent as BaseComponent } from "jslib-angular/co
|
|||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class VerifyMasterPasswordComponent extends BaseComponent {}
|
export class UserVerificationComponent extends BaseComponent {}
|
@ -21,8 +21,8 @@
|
|||||||
<option *ngFor="let f of formatOptions" [value]="f.value">{{ f.name }}</option>
|
<option *ngFor="let f of formatOptions" [value]="f.value">{{ f.name }}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<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 class="box-footer">
|
<div class="box-footer">
|
||||||
<p>{{ "confirmIdentity" | i18n }}</p>
|
<p>{{ "confirmIdentity" | i18n }}</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user