Skip to content

Do not forget about changing session name key #16

@github-actions

Description

@github-actions

//TODO: Do not forget about changing session name key

	// CORS
	AllowedOrigins string `config:"HTTP_ALLOWED_ORIGINS" default:"*"`

	// Encryption
	TLS     bool   `config:"HTTP_TLS" default:"false"`
	TLSCert string `config:"HTTP_TLS_CERT" default:""`
	TLSKey  string `config:"HTTP_TLS_KEY" default:""`

	CookieSecret config.Secret `config:"HTTP_COOKIE_SECRET" default:""`
	//TODO: Do not forget about changing session name key
	CookieName  string `config:"HTTP_COOKIE_STORE_NAME" default:"session_key_name_to_change_at_some_point"`
	CookeMaxAge int    `config:"HTTP_COOKIE_MAX_AGE" default:"604800"` // 7 days
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions