8 chars should be enough
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user