Login component migration

This commit is contained in:
vinith-kovan 2024-05-16 14:28:43 +05:30
parent 866441c797
commit 735bcdd6dc
No known key found for this signature in database
GPG Key ID: 9E663946A0AE5089
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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",
},
},
],