Add last login field #1214
Answered
by
pradel
longlee218
asked this question in
Q&A
Add last login field
#1214
-
How to set or add field loginAt/lastLogin in accountjs |
Beta Was this translation helpful? Give feedback.
Answered by
pradel
Mar 2, 2022
Replies: 2 comments 1 reply
-
You can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pradel
-
I found my answer. If you want to add field/update field loginAt or whatever you call. You can see suggestions below. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
.on
event https://www.accountsjs.com/docs/api/server/classes/accountsserver#onIn the event update the field on the user with a DB call.