Skip to content

Commit

Permalink
docs: Fix validation messages for validate_key and encrypt_key (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller authored Mar 20, 2024
1 parent 977c4a5 commit b8387f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beaker/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ def coerce_session_params(params):
('id', (str,), "Session id must be a string."),
('key', (str,), "Session key must be a string."),
('secret', (str, NoneType), "Session secret must be a string."),
('validate_key', (str, NoneType), "Session encrypt_key must be a string."),
('encrypt_key', (str, NoneType), "Session validate_key must be a string."),
('validate_key', (str, NoneType), "Session validate_key must be a string."),
('encrypt_key', (str, NoneType), "Session encrypt_key must be a string."),
('encrypt_nonce_bits', (int, NoneType), "Session encrypt_nonce_bits must be a number"),
('secure', (bool, NoneType), "Session secure must be a boolean."),
('httponly', (bool, NoneType), "Session httponly must be a boolean."),
Expand Down

0 comments on commit b8387f5

Please sign in to comment.