Skip to content

Commit

Permalink
Set LCC users to unlisted
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Oct 23, 2024
1 parent dfeabc4 commit 62b8ac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmoj/scripts/contest_login_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def send(dry_run=False):
profile: Profile = None
print("Making user: (%s, %s)" % (username, password))
if not dry_run:
usr = User.objects.create_user(username, password=password)
profile = Profile(user=usr)
user_account = User.objects.create_user(username, password=password)
profile = Profile(user=user_account, is_unlisted=True)

msg = MESSAGE.format(**{"user": username, "pass": password, "team": team})
emails = []
Expand Down

0 comments on commit 62b8ac4

Please sign in to comment.