Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configuration options for the session cookie #5

Open
cdepillabout opened this issue Jul 3, 2018 · 0 comments
Open

add configuration options for the session cookie #5

cdepillabout opened this issue Jul 3, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@cdepillabout
Copy link
Member

When a user logins in, Goat Guardian creates a session cookie called _GG_SESSION.

The settings for the cookie are defined here:

let setCookie =
defaultSetCookie
{ setCookieName = "_GG_SESSION"
, setCookieValue = encryptedUserKey
, setCookiePath = Just "/"
, setCookieMaxAge = Just $ 60 * 60 * 24 * 3650 -- 10 years
, setCookieHttpOnly = True
}

It would be nice to allow the operator the ability to change these settings.

@cdepillabout cdepillabout added this to the MVP milestone Jul 3, 2018
@cdepillabout cdepillabout added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant