Minor change

This commit is contained in:
Dita Aji Pratama 2025-08-07 10:04:36 +07:00
parent 2acb450b64
commit 3e85e6375f

View File

@ -54,9 +54,10 @@ class auth:
auth_profile_lastrowid = self.cursor.lastrowid
self.cursor.execute("INSERT INTO `auth_profile_verification` VALUES (DEFAULT, %s, 'email', 0);", (auth_profile_lastrowid,) )
self.cursor.execute("INSERT INTO `auth_profile_roles` VALUES (DEFAULT, %s, %s);", (auth_profile_lastrowid, result_roles['id']) )
loggorilla.prcss(APIADDR, "Generate URL")
loggorilla.prcss(APIADDR, "Set expired datetime")
expired = globalvar.verification_link_expiration
expired_isoformat = expired.isoformat()
loggorilla.prcss(APIADDR, "Generate URL")
payload = {
"token" : token,
"expired": expired_isoformat