Skip to content

Session Validation #130

@hahahannes

Description

@hahahannes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions