Do not generate upper case secrets if we treat them case-insensitively

This commit is contained in:
Raphael Michel
2016-09-12 17:41:55 +02:00
parent 9318652124
commit f165275ade

View File

@@ -17,7 +17,7 @@ from .items import Item, ItemVariation, Question, QuestionOption, Quota
def generate_secret():
return get_random_string(length=16, allowed_chars=string.ascii_letters + string.digits)
return get_random_string(length=16, allowed_chars=string.ascii_lowercase + string.digits)
def generate_position_secret():