summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--player.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.py b/player.py
index 49d5a8a..685f8b4 100644
--- a/player.py
+++ b/player.py
@@ -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: