diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-12-15 23:30:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-15 23:30:01 -0800 |
| commit | 62ef58169a80e2f0a4183721034bff82c9db2e29 (patch) | |
| tree | d7bc5ac6c7f922eeee8ec77b9ea2855503a0ef1d /api | |
| parent | 4be8da0a6550d0486ff6ad1266736994d36bdb1d (diff) | |
remove affiliation when auth=server
Diffstat (limited to 'api')
| -rw-r--r-- | api/app.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -158,6 +158,7 @@ def generate_organization_captcha(org): question_data = [{"image": question[3], "name": question[1], "affiliation": question[2], "id": question[0] } for question in correct_answers + random_answers] if create_session: server = create_database_connection() + del question_data["affiliation"] session_id = secrets.token_urlsafe(16) solutions = [] for question in question_data: |
