Clean up theme user.fields access

This commit is contained in:
Kevin Chung
2020-08-18 15:33:59 -04:00
parent aa15c63050
commit e68419201a
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@
</h2>
{% endif %}
{% for field in user.get_fields(true) %}
{% for field in user.get_fields(admin=true) %}
<h3 class="d-block">
{{ field.name }}: {{ field.value }}
</h3>

View File

@@ -39,7 +39,7 @@
</h3>
{% endif %}
{% for field in user.get_fields() %}
{% for field in user.fields %}
<h3 class="d-block">
{{ field.name }}: {{ field.value }}
</h3>