From d5cecb57954626e863de02a989a62f435fc79878 Mon Sep 17 00:00:00 2001 From: Eric Defore Date: Wed, 23 Sep 2020 16:23:51 -0400 Subject: [PATCH] Support alternate an alternate database for Oauth interactions --- src/oauth/ZohoOAuth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/oauth/ZohoOAuth.php b/src/oauth/ZohoOAuth.php index 2d69dc99..820c3860 100644 --- a/src/oauth/ZohoOAuth.php +++ b/src/oauth/ZohoOAuth.php @@ -55,7 +55,8 @@ private static function setConfigValues($configuration) ZohoOAuthConstants::DATABASE_PASSWORD, ZohoOAuthConstants::DATABASE_USERNAME, ZohoOAuthConstants::PERSISTENCE_HANDLER_CLASS_NAME, - ZohoOAuthConstants::HOST_ADDRESS + ZohoOAuthConstants::HOST_ADDRESS, + ZohoOAuthConstants::DATABASE_NAME ); if (! array_key_exists(ZohoOAuthConstants::ACCESS_TYPE, $configuration) || $configuration[ZohoOAuthConstants::ACCESS_TYPE] == "") {