Skip to content

Commit b8387f5

Browse files
authored
docs: Fix validation messages for validate_key and encrypt_key (#234)
1 parent 977c4a5 commit b8387f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beaker/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ def coerce_session_params(params):
303303
('id', (str,), "Session id must be a string."),
304304
('key', (str,), "Session key must be a string."),
305305
('secret', (str, NoneType), "Session secret must be a string."),
306-
('validate_key', (str, NoneType), "Session encrypt_key must be a string."),
307-
('encrypt_key', (str, NoneType), "Session validate_key must be a string."),
306+
('validate_key', (str, NoneType), "Session validate_key must be a string."),
307+
('encrypt_key', (str, NoneType), "Session encrypt_key must be a string."),
308308
('encrypt_nonce_bits', (int, NoneType), "Session encrypt_nonce_bits must be a number"),
309309
('secure', (bool, NoneType), "Session secure must be a boolean."),
310310
('httponly', (bool, NoneType), "Session httponly must be a boolean."),

0 commit comments

Comments
 (0)