mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
PM-1049 - Add empty login decryption options to desktop
This commit is contained in:
parent
c8794a3b01
commit
4d86244fa6
@ -8,6 +8,7 @@ import { AccessibilityCookieComponent } from "../auth/accessibility-cookie.compo
|
||||
import { LoginGuard } from "../auth/guards/login.guard";
|
||||
import { HintComponent } from "../auth/hint.component";
|
||||
import { LockComponent } from "../auth/lock.component";
|
||||
import { LoginDecryptionOptionsComponent } from "../auth/login/login-decryption-options/login-decryption-options.component";
|
||||
import { LoginWithDeviceComponent } from "../auth/login/login-with-device.component";
|
||||
import { LoginComponent } from "../auth/login/login.component";
|
||||
import { RegisterComponent } from "../auth/register.component";
|
||||
@ -37,6 +38,11 @@ const routes: Routes = [
|
||||
component: LoginWithDeviceComponent,
|
||||
},
|
||||
{ path: "2fa", component: TwoFactorComponent },
|
||||
{
|
||||
path: "login-initiated",
|
||||
component: LoginDecryptionOptionsComponent,
|
||||
canActivate: [], // TODO: do I need an unauth guard like web?
|
||||
},
|
||||
{ path: "register", component: RegisterComponent },
|
||||
{
|
||||
path: "vault",
|
||||
|
@ -0,0 +1 @@
|
||||
nothing here yet
|
@ -0,0 +1,22 @@
|
||||
import { Component } from "@angular/core";
|
||||
import { FormBuilder } from "@angular/forms";
|
||||
|
||||
import { BaseLoginDecryptionOptionsComponent } from "@bitwarden/angular/auth/components/base-login-decryption-options.component";
|
||||
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
||||
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
||||
import { PolicyService } from "@bitwarden/common/admin-console/abstractions/policy/policy.service.abstraction";
|
||||
|
||||
@Component({
|
||||
selector: "desktop-login-decryption-options",
|
||||
templateUrl: "login-decryption-options.component.html",
|
||||
})
|
||||
export class LoginDecryptionOptionsComponent extends BaseLoginDecryptionOptionsComponent {
|
||||
constructor(
|
||||
formBuilder: FormBuilder,
|
||||
apiService: ApiService,
|
||||
organizationService: OrganizationService,
|
||||
policyService: PolicyService
|
||||
) {
|
||||
super(formBuilder, apiService, organizationService, policyService);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user