sanctum:logout
Subscribe to hook and react to a successful user log out event.
Subscribe to the sanctum:logout
hook which triggers once the user is logged out and the identity reset is done.
plugins/sanctum-listener.ts
Here is what the hook looks like
Last updated