Commit 9fb4ff47 authored by ale's avatar ale

Do not issue duplicated changes in the same LDAP "transaction"

Prevents duplicate insertion of storageEncryptedSecretKey when
requesting an account recovery with opportunistic encryption enabled.

Add an integration test to cover this scenario.
parent c5f2b0c3
Pipeline #3559 passed with stages
in 4 minutes and 41 seconds