From 06b0d04f209050e620b00e6991da29006dda6bae Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 3 Sep 2023 21:35:04 -0300 Subject: Fix bugs for archival version --- player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player.py b/player.py index 685f8b4..a8b6f6e 100644 --- a/player.py +++ b/player.py @@ -840,9 +840,9 @@ def register(args, token): # If email is an UID mail, clobber it check=sql.query_email("_%s@spheres.tmw2.org" % (MyUID)) if (check != ""): - passwd=clobber_email(check, "_%s@spheres.tmw2.org" % (MyUID), mail) + passwd=sql.clobber_email(check, "_%s@spheres.tmw2.org" % (MyUID), mail) stdout("INFO: Set a new email for \"%s\" (%s)" % (check, mail)) - return compress({"userid": userid, "password": passwd}) + return compress({"userid": MyUID, "password": passwd}) stdout("Now registering account") # Register it -- cgit v1.2.3-60-g2f50