From 3e85e6375f8cb57bced21ced6646faf9b32abdc0 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Thu, 7 Aug 2025 10:04:36 +0700 Subject: [PATCH] Minor change --- modules/api/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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