From be14c6c84dbe98a8a5fab72750314cf660fe3c11 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Tue, 13 Jan 2026 00:26:51 +0100
Subject: [PATCH] user magic link inmplemented
---
modules/routes/routeSecurityLocal.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/routes/routeSecurityLocal.py b/modules/routes/routeSecurityLocal.py
index 7d58ad8d..89351825 100644
--- a/modules/routes/routeSecurityLocal.py
+++ b/modules/routes/routeSecurityLocal.py
@@ -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"