mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-14 02:34:23 +01:00
Clean up theme user.fields access
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user