diff --git a/modules/api/auth.py b/modules/api/auth.py index e3dfe94..f90a455 100644 --- a/modules/api/auth.py +++ b/modules/api/auth.py @@ -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