Browse Source

added user object to ombi debug log

CauseFX 4 years ago
parent
commit
7f9d7c8bdb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/functions/sso-functions.php

+ 1 - 1
api/functions/sso-functions.php

@@ -45,7 +45,7 @@ trait SSOFunctions
 			$this->coookie('set', 'mpt', $token, $this->config['rememberMeDays'], false);
 		}
 		if ($this->config['ssoOmbi']) {
-			$this->logger->debug('Starting Ombi SSO check function');
+			$this->logger->debug('Starting Ombi SSO check function', $userobj);
 			$fallback = ($this->config['ombiFallbackUser'] !== '' && $this->config['ombiFallbackPassword'] !== '');
 			$ombiToken = $this->getOmbiToken($this->getSSOUserFor('ombi', $userobj), $password, $token, $fallback);
 			if ($ombiToken) {