Issue: The audit log is being searched for last login data every time build_userinfo is called.
BREAKING Last login info is no longer included in userinfo.
BREAKING Last login info is no longer included in credentials detail by default. Add last_login=yes to request query to include the info in the result.
PUBLIC API: To get your last login info, use GET /public/last_login.
ADMIN API: To get any user's last login info, use GET /last_login/{CREDENTIALS_ID}.
Audit index for finding last login data is removed to save memory. (Note: It must be removed manually in existing deployments.)
Required UI changes
Seacat Admin UI
In credentials detail, to get the last login data, call GET /credentials/{CREDENTIALS_ID}?last_login=yes.
Seacat Auth UI
In account detail, to get the last login data, call GET /public/last_login.
Issue: The audit log is being searched for last login data every time
build_userinfo
is called.BREAKING
Last login info is no longer included in userinfo.BREAKING
Last login info is no longer included in credentials detail by default. Addlast_login=yes
to request query to include the info in the result.GET /public/last_login
.GET /last_login/{CREDENTIALS_ID}
.Required UI changes
Seacat Admin UI
GET /credentials/{CREDENTIALS_ID}?last_login=yes
.Seacat Auth UI
GET /public/last_login
.