Skip to content

Refactor getSession function to use AuthGetCurrentUserServer for user…#365

Merged
Stivenjs merged 1 commit into
mainfrom
cli
Oct 18, 2025
Merged

Refactor getSession function to use AuthGetCurrentUserServer for user…#365
Stivenjs merged 1 commit into
mainfrom
cli

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

… retrieval

This commit updates the getSession function in the authentication middleware to utilize AuthGetCurrentUserServer for fetching the current user instead of the previous session fetching method. It enhances error handling and logging for production environments, ensuring better cache management and user session validation. This change improves the overall reliability and clarity of user authentication processes.

… retrieval

This commit updates the getSession function in the authentication middleware to utilize AuthGetCurrentUserServer for fetching the current user instead of the previous session fetching method. It enhances error handling and logging for production environments, ensuring better cache management and user session validation. This change improves the overall reliability and clarity of user authentication processes.
@Stivenjs Stivenjs merged commit 24f8765 into main Oct 18, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant