diff --git a/src/Entities/Traits/ClientEntityTrait.php b/src/Entities/Traits/ClientEntityTrait.php index d7665fcf..bac3ccda 100644 --- a/src/Entities/Traits/ClientEntityTrait.php +++ b/src/Entities/Traits/ClientEntityTrait.php @@ -39,7 +39,7 @@ trait ClientEntityTrait */ public function canKeepASecret() { - return $this->secret === null; + return $this->secret !== null; } /**