Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Update User Information #994

Closed
scriptPilot opened this issue Oct 15, 2023 · 1 comment
Closed

Question: Update User Information #994

scriptPilot opened this issue Oct 15, 2023 · 1 comment

Comments

@scriptPilot
Copy link

scriptPilot commented Oct 15, 2023

After dbAuth login, the details in $_SESSION are not updated when they are updated in the database - for example the username. What is the best practice to keep the $_SESSION details updated?

Currently I run a request to the database at the top of the api.php file to update $_SESSION on each call.

@scriptPilot
Copy link
Author

scriptPilot commented Oct 15, 2023

Linked to #935

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant