user magic link inmplemented

This commit is contained in:
ValueOn AG 2026-01-13 00:26:51 +01:00
parent 4b49eab26e
commit be14c6c84d

View file

@ -255,7 +255,7 @@ async def register_user(
from modules.services import Services
services = Services(user)
magicLink = f"{baseUrl}/reset.html?token={token}"
magicLink = f"{baseUrl}/reset?token={token}"
expiryHours = int(APP_CONFIG.get("Auth_RESET_TOKEN_EXPIRY_HOURS", "24"))
emailSubject = "PowerOn Registrierung - Passwort setzen"
@ -529,7 +529,7 @@ async def passwordResetRequest(
services = Services(user)
# Generate magic link using provided frontend URL
magicLink = f"{baseUrl}/reset.html?token={token}"
magicLink = f"{baseUrl}/reset?token={token}"
# Send email
emailSubject = "PowerOn - Passwort zurücksetzen"