Skip to content

Commit

Permalink
Fix default team_creation representation value in the config page (CT…
Browse files Browse the repository at this point in the history
…Fd#1803)

* Fix default team_creation representation value in the config page
  • Loading branch information
ColdHeat authored Feb 16, 2021
1 parent 5c9b3e7 commit a09e220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CTFd/themes/admin/templates/configs/accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% set verify_emails = "true" if verify_emails == True else "false" %}
{% set name_changes = "true" if name_changes == True else "false" %}
{% set team_creation = "true" if team_creation == True else "false" %}
{% set team_creation = "false" if team_creation == False else "true" %}
{% with form = Forms.config.AccountSettingsForm(verify_emails=verify_emails, name_changes=name_changes, team_disbanding=team_disbanding, team_creation=team_creation) %}
<form method="POST" autocomplete="off" class="w-100">

Expand Down

0 comments on commit a09e220

Please sign in to comment.