diff --git a/code/utils/crypt.py b/code/utils/crypt.py index 52dcc50..8000f4f 100644 --- a/code/utils/crypt.py +++ b/code/utils/crypt.py @@ -71,7 +71,7 @@ def random_token(): def random_expiring_hash(): codes = [] - for i in range(3): + for i in range(2): codes.append("".join([random.choice(string.ascii_letters + string.digits) for n in range(4)])) ehash = "-".join(codes) return ehash