package components import "context" type BackupCodeVerifyData struct { ErrorMessage string } templ TwoFactorBackupVerify(ctx context.Context, data BackupCodeVerifyData) { @LayoutWithContext("Backup Code Verification", ctx) {

Backup Code Verification

Enter one of your backup codes to verify your identity

if data.ErrorMessage != "" { }

Backup Code Authentication

Alternative to authenticator app

Remember that each backup code can only be used once!

Backup codes were provided when you set up two-factor authentication. Each code can only be used once.

Security Information

Backup codes provide an alternative way to verify your identity when you don't have access to your authenticator app. Each code can only be used once for security reasons.

} }