From 8d028e10c61cb6985a210283a18f9cf693f36359 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Tue, 7 Jan 2025 14:53:00 -0800 Subject: [PATCH] Fix populating login url in sign in email --- src/khoj/routers/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( {