On login, the associated account data is deleted from the store, then a new account object is written to the store. The only field that changes in the object is the last_login date.
This can be confirmed easily with the default openlibrary account in any Open Library local instance:
docker compose exec db bash
psql -Uopenlibrary
select store_id from store_index where type = 'account' and name = 'username' and value = 'openlibrary';
# Note the `store_id` from the result set, logout, login again, then re-run the query.
# The `store_id` will be different.
On login, the associated account data is deleted from the store, then a new account object is written to the store. The only field that changes in the object is the
last_logindate.This can be confirmed easily with the default
openlibraryaccount in any Open Library local instance: