mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +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():
|
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():
|
def generate_position_secret():
|
||||||
|
|||||||
Reference in New Issue
Block a user