diff --git a/Form/Type/SecurityRolesType.php b/Form/Type/SecurityRolesType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/SecurityRolesType.php
+++ b/Form/Type/SecurityRolesType.php
@@ -57,7 +57,7 @@ class SecurityRolesType extends AbstractType
         });
 
         // POST METHOD
-        $formBuilder->addEventListener(FormEvents::PRE_BIND, function(FormEvent $event) use ($transformer) {
+        $formBuilder->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event) use ($transformer) {
             $transformer->setOriginalRoles($event->getForm()->getData());
         });
Fix deprecated FormEvents::PRE_BIND usage