1
0
-1

Hi,

I need to call the API everytime user logout (need to update the query). My problem is how can I get the current user who is login? Since when I try to apply hash variable, it return null when they click logout.


Thank you.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, after logout the current user would already be anonymous. Perhaps you can use a custom Audit Trail Plugin to capture and handle the logout event.

      1. hanani

        Ok got it thank you so much Anders!

      CommentAdd your comment...