unrhodecode/rhodecode/templates/email_templates/otp_code.mako
russell@unturf.com 722c3bd369 Prototype: OTP auth, styleguide overhaul, login/session rework
Replace password reset with email OTP verification flow.
Add auth_otp module, OTP templates, and email delivery.
Expand styleguide CSS with full component library.
Rework login, register, and admin views for cookie sessions.
Remove legacy 2FA templates and password reset flow.
Update SSH wrappers, forms, validators, and middleware.
2026-03-04 16:44:40 -05:00

25 lines
836 B
Mako

<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
Your verification code
</%def>
## plain text version of the email
<%def name="body_plaintext()" filter="n,trim">
Your verification code is: ${otp_code}
This code expires in 5 minutes. If you did not request this code, please ignore this email.
---
${self.plaintext_footer()}
</%def>
## BODY GOES BELOW
<p>Your verification code is:</p>
<p style="font-size: 32px; font-family: 'Menlo', 'Consolas', monospace; letter-spacing: 0.3em; font-weight: bold; padding: 16px; background-color: #f5f5f5; border-radius: 4px; text-align: center;">
${otp_code}
</p>
<p style="color: #6b7280; font-size: 13px;">
This code expires in 5 minutes. If you did not request this code, please ignore this email.
</p>