From 104beff158cc7698698959c71ff33e6c065eda49 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Wed, 29 Jun 2022 15:09:17 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05102=20-=20Allow=20to=20send=20emails=20?= =?UTF-8?q?using=20GSuite=20SMTP=20and=20OAuth=20-=20Fix=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/log.class.inc.php | 2 +- datamodels/2.x/itop-oauth-client/README.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/log.class.inc.php b/core/log.class.inc.php index 9facb1599a..df525d863f 100644 --- a/core/log.class.inc.php +++ b/core/log.class.inc.php @@ -698,7 +698,7 @@ abstract class LogAPI if (isset($sLogLevelMin[static::CHANNEL_DEFAULT])) { - return $sLogLevelMin[$sChannel]; + return $sLogLevelMin[static::CHANNEL_DEFAULT]; } return static::LEVEL_DEFAULT; diff --git a/datamodels/2.x/itop-oauth-client/README.md b/datamodels/2.x/itop-oauth-client/README.md index a520ac75cd..9a45ad9113 100644 --- a/datamodels/2.x/itop-oauth-client/README.md +++ b/datamodels/2.x/itop-oauth-client/README.md @@ -1,2 +1,5 @@ # Extension OAuth 2.0 client +## GMail + +If the account is in test, after 7 days the tokens are no longer valid, you have to renew the tokens manually.