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"