package components import "context" type TwoFactorVerifyData struct { ErrorMessage string } templ TwoFactorVerify(ctx context.Context, data TwoFactorVerifyData) { @LayoutWithContext("Two-Factor Authentication", ctx) {

Two-Factor Authentication

Enter the code from your authenticator app

if data.ErrorMessage != "" { }

Lost your device?
You can use one of your backup codes instead of the 6-digit code.

} }