Skip to content

Commit

Permalink
better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx committed Jul 1, 2024
1 parent 7a2d729 commit e5bddd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ cookie.DefaultOptions = &cookie.Options{
}
```

Which makes all cookies signed by default.
Which will sign all cookies by default, even when using the `Set` and `Get`
methods.

If you have any unsigned cookies, you can still access their values by using the
`unsigned` tag in the struct field:
Expand All @@ -172,4 +173,4 @@ cookie.Set(w, "debug", "true", &cookie.Options{
})
```

Due to the default value now overriding the option.
Due to the option now defaulting to `true`.

0 comments on commit e5bddd0

Please sign in to comment.