From da4ba8f8d477255528d1b6106389fd29c9b2a77a Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Tue, 15 Sep 2020 12:34:52 +0000 Subject: [PATCH] admin: Hide detailed authentication data by default --- modules/admin/templates/status.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/admin/templates/status.twig b/modules/admin/templates/status.twig index f0ff25562..44c87ccd2 100644 --- a/modules/admin/templates/status.twig +++ b/modules/admin/templates/status.twig @@ -56,7 +56,8 @@ {% endif %} {% if authData %} - <h3>{% trans %}Authentication data{% endtrans %}</h3> + <details> + <summary>{% trans %}Authentication data{% endtrans %}</summary> <div class="code-box hljs"> <div class="pure-button-group top-right-corner"> <a class="pure-button copy hljs" data-clipboard-target="#auth-data" @@ -66,6 +67,7 @@ {{- authData|json_encode(constant("JSON_PRETTY_PRINT") b-or constant("JSON_UNESCAPED_SLASHES")) }} </code> </div> + </details> <br/> {% endif %} -- GitLab