1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 12:13:45 +00:00
Files
browser/libs/angular/src/auth/components/authentication-timeout.component.ts
Oscar Hinton 8f74eaea1c Remove standalone true from auth (#15035)
Remove standalone: true from every instance since it's the default as of Angular 19.
2025-06-04 09:22:37 -04:00

25 lines
811 B
TypeScript

import { CommonModule } from "@angular/common";
import { Component } from "@angular/core";
import { RouterModule } from "@angular/router";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import { ButtonModule } from "@bitwarden/components";
/**
* This component is used to display a message to the user that their authentication session has expired.
* It provides a button to navigate to the login page.
*/
@Component({
selector: "app-authentication-timeout",
imports: [CommonModule, JslibModule, ButtonModule, RouterModule],
template: `
<p class="tw-text-center">
{{ "authenticationSessionTimedOut" | i18n }}
</p>
<a routerLink="/login" bitButton block buttonType="primary">
{{ "logIn" | i18n }}
</a>
`,
})
export class AuthenticationTimeoutComponent {}