How does one set the secure flag on a Mojolicious session cookie? I'd like to be able to access it locally also on my test environment which does not run on https.
I've read the Sessions docs and the app->session one, and tried (in a Mojolicious::Lite
app)
app->sessions->secure(0)
but to no result.
What am I doing wrong?