12 Commits

Author SHA1 Message Date
hi019
86e43593cd CSRF MW Restructuring 2021-03-01 16:25:32 -05:00
hinoguma
1ad5a618cb make default handler to private. fix testcase for invalid token and empty token. 2021-01-23 12:39:27 +09:00
hinoguma
19e6a4429d add custom error func for csrf middleware 2021-01-23 03:45:47 +09:00
amalshaji
86f258c4ae fixed cookie error in csrf.go 2020-12-10 10:45:21 +05:30
Fenny
6338ce855c 🩹 fix csrf test 2020-11-14 03:09:53 +01:00
Fenny
6b48509ce9 update cookie config fields 2020-11-14 00:45:55 +01:00
Fenny
558d802cdd 🩹 Fix expiration check 2020-11-13 18:34:01 +01:00
Fenny
ce897c0b66 🩹 fix tests 2020-11-11 18:34:46 +01:00
Fenny
66ee4de7d8 🕊 rename token to key 2020-11-11 18:19:53 +01:00
Fenny
1bd7b1b15b ✏ fix typo 2020-11-11 16:41:26 +01:00
Fenny
2b0f65c5d2 ✏ update readme 2020-11-11 15:57:38 +01:00
Fenny
053dfd383d 🩹 fix crsf middleware 2020-11-11 15:25:35 +01:00