Login component migration
This commit is contained in:
parent
866441c797
commit
735bcdd6dc
|
@ -4,7 +4,7 @@
|
|||
class="tw-container"
|
||||
[formGroup]="formGroup"
|
||||
>
|
||||
<div class="tw-rounded-xl tw-w-96 tw-bg-background tw-p-6">
|
||||
<div class="tw-w-96">
|
||||
<ng-container *ngIf="!validatedEmail">
|
||||
<div class="tw-mb-3">
|
||||
<bit-form-field>
|
||||
|
|
|
@ -7,6 +7,7 @@ import {
|
|||
redirectGuard,
|
||||
tdeDecryptionRequiredGuard,
|
||||
UnauthGuard,
|
||||
unauthGuardFn,
|
||||
} from "@bitwarden/angular/auth/guards";
|
||||
|
||||
import { flagEnabled, Flags } from "../utils/flags";
|
||||
|
@ -203,8 +204,9 @@ const routes: Routes = [
|
|||
{
|
||||
path: "login",
|
||||
component: LoginComponent,
|
||||
canActivate: [unauthGuardFn()],
|
||||
data: {
|
||||
pageSubtitle: "loginOrCreateNewAccount",
|
||||
pageTitle: "loginOrCreateNewAccount",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue