Skip to content

Add last login field #1214

Answered by pradel
longlee218 asked this question in Q&A
Mar 2, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You can use the .on event https://www.accountsjs.com/docs/api/server/classes/accountsserver#on
In the event update the field on the user with a DB call.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by pradel
Comment options

You must be logged in to vote
0 replies
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