diff --git a/app/Repositories/Eloquent/RecoveryTokenRepository.php b/app/Repositories/Eloquent/RecoveryTokenRepository.php deleted file mode 100644 index 5d4dc4850..000000000 --- a/app/Repositories/Eloquent/RecoveryTokenRepository.php +++ /dev/null @@ -1,13 +0,0 @@ -recoveryTokenRepository->deleteWhere(['user_id' => $user->id]); + $user->recoveryTokens()->delete(); // Bulk insert the hashed tokens. - $this->recoveryTokenRepository->insert($inserts); + RecoveryToken::query()->insert($inserts); } $this->repository->withoutFreshModel()->update($user->id, [