twoFactor->clear($target)) { return false; } $this->activity->log(Action::TwoFactorReset, subject: $target); if ($this->settings->get(Setting::EmailNotificationsEnabled) === true) { $target->notify(new TwoFactorResetNotification); } return true; } }