Skip to content
Snippets Groups Projects
Commit da4ba8f8 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

admin: Hide detailed authentication data by default

parent 3d7d094d
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,8 @@ ...@@ -56,7 +56,8 @@
{% endif %} {% endif %}
{% if authData %} {% if authData %}
<h3>{% trans %}Authentication data{% endtrans %}</h3> <details>
<summary>{% trans %}Authentication data{% endtrans %}</summary>
<div class="code-box hljs"> <div class="code-box hljs">
<div class="pure-button-group top-right-corner"> <div class="pure-button-group top-right-corner">
<a class="pure-button copy hljs" data-clipboard-target="#auth-data" <a class="pure-button copy hljs" data-clipboard-target="#auth-data"
...@@ -66,6 +67,7 @@ ...@@ -66,6 +67,7 @@
{{- authData|json_encode(constant("JSON_PRETTY_PRINT") b-or constant("JSON_UNESCAPED_SLASHES")) }} {{- authData|json_encode(constant("JSON_PRETTY_PRINT") b-or constant("JSON_UNESCAPED_SLASHES")) }}
</code> </code>
</div> </div>
</details>
<br/> <br/>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment