Logout Event in open platform 5.4

I tried to add the line logoutEvent.fire(new LogoutEvent(principals, AuthUtils.getUser())); to the onLogout method in the AuthPac4jListener and the corresponding logoutEvent POJO in the events folder and recompile the open platform, but unfortunately the onLogout method is not called when the user logs out!! any Idea on how to implement that in the 4.5 version

Hi @mammar ,
You made all these changes in axelor module or create your own module ?

No, those changes were made directly in the open platform sources (version 5.4.17)