diff --git a/app/Repositories/Eloquent/RecoveryTokenRepository.php b/app/Repositories/Eloquent/RecoveryTokenRepository.php deleted file mode 100644 index b6a01c398..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); } $user->totp_authenticated_at = now();