Skip to content

Activity is logged when the user logs out but not when the user logs in. #952

Answered by Gummibeer
alantucker asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

depending on your used auth logic the remember_me Token is updated during sign out for example. Depending on your Model Activity logging configuration there will be logs with empty changes as any field updated but isn't in the list of attributes to be logged and you haven't disabled empty logs.

So you should check your auth logic where an update of the user model happens and also your model logging configuration to see what and when is logged.

In case you want explicit sign in/out activities you should use manual logging using the activity() global function.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alantucker
Comment options

Answer selected by alantucker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants