Development

This commit is contained in:
Matthew Grotke 2026-05-24 01:46:48 -04:00
parent e98eb85c5a
commit 278995958a
6 changed files with 39 additions and 18 deletions

View file

@ -3,7 +3,7 @@ import json, os, bcrypt, secrets, smtplib
from datetime import datetime, timezone, timedelta
from email.message import EmailMessage
from auth import require_level
from config_utils import PRODUCT_DISPLAY_NAME, ACCOUNTS_FILE
from config_utils import WEB_APP_DISPLAY_NAME, ACCOUNTS_FILE
import sanitize
bp = Blueprint('action_create_account', __name__)
@ -30,7 +30,7 @@ def _send_verification_email(to_address, code):
raise RuntimeError('SMTP_HOST is not configured.')
msg = EmailMessage()
msg['Subject'] = f'{PRODUCT_DISPLAY_NAME} - Email Verification'
msg['Subject'] = f'{WEB_APP_DISPLAY_NAME} - Email Verification'
msg['From'] = from_addr
msg['To'] = to_address
msg.set_content(