File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments