diff --git a/src/Controller/Api/ProfileController.php b/src/Controller/Api/ProfileController.php index 00f4f00506a..9d71272a4a5 100644 --- a/src/Controller/Api/ProfileController.php +++ b/src/Controller/Api/ProfileController.php @@ -291,7 +291,7 @@ public function terminateMembershipAction( /** @var Adherent $user */ $validationGroups = [$user->isRenaissanceAdherent() ? 'unregister_adherent' : 'unregister_user']; - if ($user->getAuthAppVersion() >= 5110000) { + if ($user->getAuthAppVersion() >= 5180000) { $validationGroups[] = 'unregister'; }