diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-08-06 16:51:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-08-06 16:51:39 -0300 |
commit | 1188010bd48e75ef79fa9acd1424513e8599e31e (patch) | |
tree | 1d036148ae878d9d00d012e3d86eda136ca0c093 | |
parent | 395397bf5a3b3df3182c485e93c2193d5e22db52 (diff) | |
download | server-1188010bd48e75ef79fa9acd1424513e8599e31e.tar.gz server-1188010bd48e75ef79fa9acd1424513e8599e31e.tar.bz2 server-1188010bd48e75ef79fa9acd1424513e8599e31e.tar.xz server-1188010bd48e75ef79fa9acd1424513e8599e31e.zip |
I overlooked the fact passwords can now be either 12 or 16 chars long
-rw-r--r-- | player.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,7 @@ def get_data(args, token): passwd=y["passwd"] if not passwd.isalnum(): raise Exception("Illegal password") - if len(passwd) != 12: + if len(passwd) not in [12, 16]: raise Exception("Illegal password") vs=str(y["version"]) except: |