Skip to content
Snippets Groups Projects
Commit b2a560db authored by Dominik Seeger's avatar Dominik Seeger
Browse files

student account will now be disabled upon creation

parent 0068c345
Branches
Tags
1 merge request!177Resolve "Disable student accounts upon creation"
Pipeline #105319 failed
......@@ -134,7 +134,7 @@ def load_hektor_json():
log.warning(f"Updated submission type {submission_type}")
for student in exam_data['students']:
student_obj = user_factory.make_student(exam=exam,
student_obj = user_factory.make_student(exam=exam, is_active=False,
**student).student
for submission_obj in student['submissions']:
add_submission(student_obj, **submission_obj)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment