Update AdminCuratedRegisterController, filter confirmation activities from activitylog

This commit is contained in:
Daniel Supernault 2024-02-29 02:04:43 -07:00
parent 2f48df8ca8
commit ab9ecb6efd
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -104,6 +104,10 @@ class AdminCuratedRegisterController extends Controller
foreach ($activities as $activity) { foreach ($activities as $activity) {
$idx++; $idx++;
if ($activity->type === 'user_resend_email_confirmation') {
continue;
}
if ($activity->from_user) { if ($activity->from_user) {
$userResponses->push($activity); $userResponses->push($activity);