mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Fix populating login url in sign in email
This commit is contained in:
@@ -37,7 +37,7 @@ async def send_magic_link_email(email, unique_id, host):
|
|||||||
|
|
||||||
template = env.get_template("magic_link.html")
|
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(
|
resend.Emails.send(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user