This commit is contained in:
2021-12-13 15:14:37 +03:00
parent a985e800a2
commit 5a47951b66
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ async def send_email(user, text):
token = await EmailAuthenticate.get_email_token(user)
to = "%s <%s>" % (user.username, user.email)
auth_url_with_token = "%s?token=%s" % (AUTH_URL, token)
auth_url_with_token = "%s/%s" % (AUTH_URL, token)
text = text % (auth_url_with_token)
response = requests.post(
MAILGUN_API_URL,