Skip to content

Commit c6c3ab8

Browse files
committed
Fix typo in magic links
1 parent 87fb94d commit c6c3ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/podium/routers/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def send_magic_link(email: str, redirect: str = ""):
5858
data=token_data, expires_delta=timedelta(minutes=15), token_type="magic_link"
5959
)
6060

61-
magic_link = f"{settings.production_url}/login?token={token}"
61+
magic_link = f"{settings.production_url}login?token={token}"
6262
if redirect:
6363
magic_link += f"&redirect={redirect}"
6464

@@ -78,7 +78,7 @@ async def send_magic_link(email: str, redirect: str = ""):
7878
raise HTTPException(status_code=500, detail="Failed to send auth email")
7979

8080
print(
81-
f"Token for {email}: {token} | magic_link: {settings.production_url}/login?token={token}"
81+
f"Token for {email}: {token} | magic_link: {settings.production_url}login?token={token}"
8282
)
8383

8484

0 commit comments

Comments
 (0)