From 789bfe1b9fab6b3fb47e71ff57e58802dae01620 Mon Sep 17 00:00:00 2001 From: Geoff Garbers Date: Tue, 12 May 2020 15:26:47 +0200 Subject: [PATCH] Change to forceFill. Fixes #908. (#1266) --- src/Bridge/AuthCodeRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /**