PHP-Auth icon indicating copy to clipboard operation
PHP-Auth copied to clipboard

Extending the Session, feature-request

Open eypsilon opened this issue 4 years ago • 0 comments

This is not an issue but a kindly feature-request. Currently, if an User logs into the Application, there are some data-sets saved in the SESSION, like "auth_user_id" and "auth_last_resync". I would like to suggest to add an extra data-set with just the data of the column "last_login" as "auth_last_login".

With this, we would have a kind of unique salt for each User, which is valid for the current Session and that automatically invalidates itself on next Login, without the need of doing anything.

I can do it by my own, but it's a unnecessary Statement to a table, that is already processed, and i guess it would be a usefull data-set for many, who is using this API.

eypsilon avatar Sep 30 '20 22:09 eypsilon