Thanks to Jens W. Klein, there is an answer to that question on StackOverflow: Use the Products.PlonePAS.events.UserLoggedOutEvent
event (or, probably better: Products.PluggableAuthService.interfaces.events.IUserLoggedOutEvent
).
He created a Plone documentation issue as well.
In my configure.zcml
file I have now:
<include package="Products.PluggableAuthService" />
<subscriber
for="Products.PluggableAuthService.interfaces.events.IUserLoggedOutEvent"
handler=".events.after_logout"/>
1 Like