KEYCLOAK-17444 Enlist the EventListenerTransaction with the Keycloak Transaction Manager

This commit is contained in:
Alexandros Trifyllis 2021-03-26 12:13:44 +02:00 committed by Hynek Mlnařík
parent 7ec6a54e22
commit a60cb65252

View file

@ -50,6 +50,8 @@ public class EmailEventListenerProvider implements EventListenerProvider {
this.model = session.realms();
this.emailTemplateProvider = emailTemplateProvider;
this.includedEvents = includedEvents;
this.session.getTransactionManager().enlistAfterCompletion(tx);
}
@Override