Use get_debug_type() instead of gettype()

This commit is contained in:
the-djmaze 2024-02-26 04:20:28 +01:00
parent 044b0dcde6
commit 9ef11db895
4 changed files with 12 additions and 18 deletions

View file

@ -261,7 +261,7 @@ trait UserAuth
$this->oMainAuthAccount = $oMainAuthAccount;
} else {
$this->StorageProvider()->Clear($oMainAuthAccount, StorageType::SESSION, $sToken);
\SnappyMail\Log::notice('TOKENS', 'SESSION_TOKEN value invalid: ' . \gettype($sTokenValue));
\SnappyMail\Log::notice('TOKENS', 'SESSION_TOKEN value invalid: ' . \get_debug_type($sTokenValue));
}
} else {
\SnappyMail\Log::notice('TOKENS', 'AUTH_SPEC_TOKEN_KEY invalid');