We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71b13b commit ac7d5c9Copy full SHA for ac7d5c9
tests/emailpassword/test_emailverify.py
@@ -1340,7 +1340,9 @@ async def send_email(
1340
email_verify_link = template_vars.email_verify_link
1341
1342
def get_origin(_: Optional[BaseRequest], user_context: Dict[str, Any]) -> str:
1343
- return user_context["url"]
+ if "url" in user_context:
1344
+ return user_context["url"]
1345
+ return "https://supertokens.io"
1346
1347
init(
1348
supertokens_config=SupertokensConfig("http://localhost:3567"),
0 commit comments