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

Session Validation #130

Open
hahahannes opened this issue Feb 13, 2025 · 0 comments
Open

Session Validation #130

hahahannes opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hahahannes
Copy link

Is this a bug report or feature request?

  • Bug Report

Describe the bug
The session validation seems a bit off to me. The line at

logger.Info("Failed to retrieve a valid session")
indicates that session.IsNew == true means that the session is not valid. But according to https://pkg.go.dev/github.com/gorilla/sessions#CookieStore.Get, this only means that the session is newly created

How to Reproduce

Expected behavior

Config Files

Logs

Environment:

Additional context
Add any other context about the problem here.

@hahahannes hahahannes added the bug Something isn't working label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant