浏览代码

added user object to ombi debug log

CauseFX 4 年之前
父节点
当前提交
7f9d7c8bdb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {