From 922f179a901dbeac2dcdac0b1a125040c7a7744c Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 4 Jun 2019 22:23:32 -0400 Subject: [PATCH] feat: LDAP debug flag --- client/components/admin/admin-dev-flags.vue | 17 ++++++++--------- server/app/data.yml | 1 + server/core/auth.js | 1 - server/graph/resolvers/authentication.js | 5 +++++ server/graph/resolvers/site.js | 1 - server/helpers/graph.js | 2 +- .../authentication/ldap/authentication.js | 3 +++ 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/client/components/admin/admin-dev-flags.vue b/client/components/admin/admin-dev-flags.vue index e7211d1c..6f1ca1f4 100644 --- a/client/components/admin/admin-dev-flags.vue +++ b/client/components/admin/admin-dev-flags.vue @@ -17,6 +17,14 @@ span Do NOT enable these flags unless you know what you're doing! .caption Doing so may result in data loss or broken installation! v-card-text + v-switch.mt-3( + color='primary' + hint='Log detailed debug info on LDAP/AD login attempts.' + persistent-hint + label='LDAP Debug' + v-model='flags.ldapdebug' + ) + v-divider.mt-3 v-switch.mt-3( color='red' hint='Log all queries made to the database to console.' @@ -24,15 +32,6 @@ label='SQL Query Logging' v-model='flags.sqllog' ) - //- v-divider.mt-3 - //- v-switch.mt-3( - //- color='primary' - //- hint='Log all queries made to the database to console.' - //- persistent-hint - //- label='SQL Query Log' - //- v-model='flags.sqllog' - //- ) -