Change in update enrolment from Support tool

Jira:  ECOM-5012 - Getting issue details... STATUS

When updating a user enrolment mode, we are not regenerating user certificate. This is a problem, because when we are updating a user enrolment, we are not updating his certificate if it exists. Now he would expect to have the certificate with his new enrollment mode but as we haven't updated the certificate, he would still get the old certificate with old enrollment mode.


To prevent the above scenario, we decided to generate/ regenerate certificate when we update user enrollments. So now when we update user enrolment, a certificate is generated with new enrolment mode.