mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-04 11:52:53 +02:00
authorize: return 403 on invalid sessions (#5536)
This commit is contained in:
parent
2795cc68aa
commit
d6b02441b3
3 changed files with 12 additions and 4 deletions
|
@ -8,6 +8,9 @@ var (
|
|||
// ErrNoSessionFound is the error for when no session is found.
|
||||
ErrNoSessionFound = errors.New("internal/sessions: session is not found")
|
||||
|
||||
// ErrInvalidSession is the error for when a session is invalid.
|
||||
ErrInvalidSession = errors.New("internal/sessions: invalid session")
|
||||
|
||||
// ErrMalformed is the error for when a session is found but is malformed.
|
||||
ErrMalformed = errors.New("internal/sessions: session is malformed")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue