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
redis.go
store.go
virtual.go fix: only destroy session if exists 2026-03-19 02:18:52 +01:00