[users-module] - UserWasDeleted Event is fired in both Delete and TrashCreated 6 years ago by lckamal
I wanted to clear data from my Profiles module if user is force deleted (record is deleted from table)
but while using
Anomaly\UsersModule\User\Event\UserWasDeleted, This event fires on both case delete/force delete.
how to know if user is deleted or force deleted?