gugod / gugod/Doorman

Synopsis, Missing Cookie Secret & Return Value

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

In the code synopsis, this line:

enable "Session::Cookie";

Must be replaced by this line:

enable "Session::Cookie", secret => 'cookie_secret';

And the following lines should be added to the end of the app subroutine for ease-of-understanding:

# [ HTTP status code, HTTP header, HTTP content ]
return [ 200, [ 'Content-Type' => 'text/html' ], \@out ];

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.