mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Do not generate upper case secrets if we treat them case-insensitively
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user