use SITE_FULL

pull/173/head
Aevann 2023-07-28 01:58:10 +03:00
parent 68fbef28c8
commit d5d2e81f26
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def send_verification_email(user, email=None):
if not email:
email = user.email
url = f"https://{SITE}/activate"
url = f"{SITE_FULL}/activate"
now = int(time.time())
token = generate_hash(f"{email}+{user.id}+{now}")
params = f"?email={quote(email)}&id={user.id}&time={now}&token={token}"