summaryrefslogtreecommitdiff
path: root/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'sql.py')
-rw-r--r--sql.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql.py b/sql.py
index 0f79033..f6bd6da 100644
--- a/sql.py
+++ b/sql.py
@@ -265,7 +265,8 @@ def clobber_email(userid, oldmail, newmail):
def add_player(xmail):
# TODO: Generate password using the whole alphabet.
# The original string have 32 letters and we're using only 12
- passwd=uuid.uuid4().hex[:12].upper()
+ # Since 28-07-2022 we're using 16 letters from all alphabet
+ passwd=utils.create_password(16)
w = db.cursor()