Fix ob: type not registered for interface: map[string]string & superfluous response.WriteHeader, as well as wired up to go to custom 500 messages.

This commit is contained in:
2025-10-28 13:16:29 +00:00
parent e0b063fab0
commit af581a4def
3 changed files with 10 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
package session
import (
"encoding/gob"
"net/http"
"time"
@@ -11,7 +10,6 @@ import (
)
func New(cfg config.Config) *scs.SessionManager {
gob.Register(time.Time{})
s := scs.New()
// Lifetime (absolute max age)