mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +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")
|
||||
|
||||
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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user