forgejo/modules/session
Gusted ea9f2a236b
fix: only destroy session if exists
The virtual session doesn't unconditionally call `Read` of the provider,
which means it's possible for a session to not exists (created by the
call to `Read`). To avoid that the call to `Destroy` fails with that the
session does not exists, do also the exists check for `Destroy`.
2026-03-19 02:18:52 +01:00
..
db.go Improvement: Do not set session cookie for empty session 2026-03-11 04:18:06 +01:00
redis.go Improvement: Do not set session cookie for empty session 2026-03-11 04:18:06 +01:00
store.go [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
virtual.go fix: only destroy session if exists 2026-03-19 02:18:52 +01:00