--- import SettingsLayout from "@/layouts/SettingsLayout.astro"; import { MFASetup } from "@/components/settings/MFASetup"; const user = Astro.locals.user; if (!user) { return Astro.redirect("/login"); } ---

Password and authentication

Manage your security preferences and two-factor authentication.

Two-factor authentication

{user.twoFactorEnabled ? (

Two-factor authentication is enabled

Your account is protected with an additional layer of security.

) : (

Two-factor authentication adds an additional layer of security to your account.

)}

Session history

This lists all active sessions for your account. You can revoke any session.

Current session

Signed in from this browser

Active