diff --git a/src/khoj/routers/email.py b/src/khoj/routers/email.py index 1a1c5684..701db0a6 100644 --- a/src/khoj/routers/email.py +++ b/src/khoj/routers/email.py @@ -37,7 +37,7 @@ async def send_magic_link_email(email, unique_id, host): template = env.get_template("magic_link.html") - html_content = template.render(link=f"{host}auth/magic?code={unique_id}", code=unique_id) + html_content = template.render(link=sign_in_link, code=unique_id) resend.Emails.send( {