From 511eed3b2b81cfc5209ad25843ea295161a99ad2 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Wed, 29 Apr 2020 15:44:52 +0200 Subject: [PATCH] debug output --- library.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library.js b/library.js index 709fc33..0806884 100644 --- a/library.js +++ b/library.js @@ -34,7 +34,7 @@ params.router.get('/api/admin/plugins/sso-saml', render); meta.settings.get('sso_saml', function(err, options) { - console.log('[sso-saml] got options ${options}'); + console.log('[sso-saml] got options {0}'.format(options)); master_config = options; }); @@ -72,6 +72,8 @@ } ); + console.log("[sso-saml] samlObj = {}".format(samlObj)); + if (samlObj){ if (master_config.metadata) { @@ -126,10 +128,10 @@ } else { - console.log("Cannot create samlObj"); + console.log("[sso-saml] Cannot create samlObj"); } - console.log("ssl-saml: init done"); + console.log("[sso-saml] init done"); callback(); };