changed payment code to demo code

This commit is contained in:
2025-07-14 11:29:11 +02:00
parent 549f3a7633
commit 253db898a4
11 changed files with 57 additions and 40 deletions

View File

@@ -400,6 +400,6 @@ def generate_residual_risk_graph(risks_with_controls):
return base64.b64encode(image_png).decode("utf-8")
def generate_payment_code(length=6):
def generate_demo_code(length=6):
chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789'
return ''.join(random.choices(chars, k=length))