Files
PRISM/backend/accounts/templates/accounts/emails/base.html
T
boris.waaubandClaude Opus 5.5 d2da878dbd Ajoute l'inscription, la 2FA TOTP et le mot de passe oublié (API)
- Inscription avec confirmation de l'adresse (lien signé, 24 h, usage
  unique), notification de la cellule SSMG, validation ou refus depuis
  l'admin ; réponse identique si l'adresse est déjà utilisée.
- Connexion en deux étapes : code TOTP (django-otp) ou code de secours
  (8 codes hachés, usage unique) ; activation, désactivation et
  régénération des codes ; 2FA obligatoire pour l'admin hors DEBUG.
- Mot de passe oublié : lien d'une heure à usage unique, vérification du
  lien, fermeture des autres sessions ; changement du mot de passe.
- Les 8 e-mails transactionnels (texte + HTML), envoyés après commit et
  tracés dans MailEvent sans contenu ; limitation de débit par route.
- Commande purge_pending_accounts (demandes non confirmées après 7 jours).
- 156 tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:27:34 +01:00

32 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<title>{{ subject }}</title>
</head>
<body style="margin:0;padding:0;background:#f6f4f2;font-family:Roboto,Arial,sans-serif;color:#464d5f;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f6f4f2;padding:32px 16px;">
<tr>
<td align="center">
<table role="presentation" width="560" cellpadding="0" cellspacing="0" style="max-width:560px;background:#ffffff;border:1px solid #d9d4d0;border-top:4px solid #e85b25;border-radius:12px;">
<tr>
<td style="padding:28px 32px;">
<p style="margin:0 0 4px;font-size:20px;font-weight:700;color:#092933;">PRISM</p>
<p style="margin:0 0 24px;font-size:12px;color:#6b7280;">Environnement et santé</p>
<h1 style="margin:0 0 16px;font-size:18px;color:#092933;">{{ subject }}</h1>
<div style="font-size:14px;line-height:1.5;">{{ body|urlize|linebreaksbr }}</div>
</td>
</tr>
<tr>
<td style="padding:16px 32px;background:#092933;border-radius:0 0 12px 12px;color:#ffffff;font-size:12px;">
Outil complémentaire d'aide à la consultation : il ne remplace pas un diagnostic.<br />
<span style="color:#74c5da;">© SSMG – Société Scientifique de Médecine Générale</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>