goth icon indicating copy to clipboard operation
goth copied to clipboard

Disable warning on startup?

Open Evert-Arends opened this issue 4 years ago • 1 comments

Hello,

I would like to disable the warning that is shown for no SESSION SECRET. Is this possible? I looked into the source and I don't think it is possible, but who knows.

Best regards

Evert-Arends avatar Oct 19 '21 14:10 Evert-Arends

If anyone is curious, this is a possible solution:

// this store is not to be used
gothic.Store = sessions.NewCookieStore([]byte(""))

Initialize an empty store and the warnings stop.

Evert-Arends avatar Oct 20 '21 15:10 Evert-Arends