Closed tahini closed 3 months ago
I'm curious, do we want to count API login separatly or not?
I'm curious, do we want to count API login separatly or not?
1- To get the API token, one needs to login with username/password, so this login will be recorded 2- API is just one request, so it won't be considered a log in. But we could record the last token usage date
I'll wait for the API PR to be in before merging this one. There will be conflicts...
fixes #876
last_login_at
to the users table.recordLogin
method to the UserModel to let the model implement recording login. The default implementation does nothingusers
table