feat: add option to make cookie secure

This commit is contained in:
Stavros
2025-01-21 18:13:18 +02:00
parent a28e55ae4c
commit 2988b5f22f
2 changed files with 13 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ type Config struct {
AppURL string `validate:"required,url" mapstructure:"app-url"`
Users string `mapstructure:"users"`
UsersFile string `mapstructure:"users-file"`
CookieSecure bool `mapstructure:"cookie-secure"`
}
type UserContext struct {