diff --git a/src/Bridge/AuthCodeRepository.php b/src/Bridge/AuthCodeRepository.php index f3fb39d70..2dfb626a9 100644 --- a/src/Bridge/AuthCodeRepository.php +++ b/src/Bridge/AuthCodeRepository.php @@ -32,7 +32,7 @@ public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity) 'expires_at' => $authCodeEntity->getExpiryDateTime(), ]; - Passport::authCode()->setRawAttributes($attributes)->save(); + Passport::authCode()->forceFill($attributes)->save(); } /**