Commit Graph

2 Commits

Author SHA1 Message Date
Joel Speed 285c65a2d4
Add tests for cookie validation
This also removes the check for the decoded from the valid secret size
check. The code was unreachable because encryption.SecretBytes will only
return the decoded secret if it was the right length after decoding.
2020-07-05 09:17:28 +01:00
Joel Speed 900061b88a
Move CookieOptions validation to it's own file 2020-07-05 09:17:28 +01:00