mirror of
https://github.com/bitwarden/browser
synced 2026-02-04 02:33:33 +00:00
Adds a `redirect-to-vault-if-unlocked.guard.ts` that does the following: - If there is no active user, allow access to the route - If the user is specifically Unlocked, redirect the user to /vault - Otherwise, allow access to the route (fallback/default)
8 lines
306 B
TypeScript
8 lines
306 B
TypeScript
export * from "./auth.guard";
|
|
export * from "./active-auth.guard";
|
|
export * from "./lock.guard";
|
|
export * from "./redirect/redirect.guard";
|
|
export * from "./tde-decryption-required.guard";
|
|
export * from "./unauth.guard";
|
|
export * from "./redirect-to-vault-if-unlocked/redirect-to-vault-if-unlocked.guard";
|