Commit Graph

64 Commits (598b9ff12dcd60829571cae015cbefa88d2a01a2)

Author SHA1 Message Date
Fenny 4ed6fff7b3 🍪 fix typo 2020-09-30 15:55:21 +02:00
Fenny ba3d08ef6d 🍪 csrf default to Strict if left empty in config 2020-09-30 15:55:01 +02:00
Fenny d6f717148a 🛠 correct convert naming 2020-09-27 12:22:17 +02:00
Fenny 9d10f0e5b6 📦 set csrf same-site to strict 2020-09-25 00:42:51 +02:00
Fenny b94f238b83 🍪 default cookie name 2020-09-24 21:12:52 +02:00
Fenny c2554d7969 🍪 allow SameSite option 2020-09-24 21:08:10 +02:00
Fenny ebe107d54f 📘 add csrf readme 2020-09-16 15:36:33 +02:00
Fenny c993d8db2e 🩹 csrf expires should be time.Duration
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-09-16 12:48:29 +02:00
Fenny c8bb389ba6 🎈 fix csrf expiration type 2020-09-16 12:47:29 +02:00
kiyon 3cedf2dc3e 👷 improve csrf mw test cases 2020-09-16 11:15:10 +08:00
Fenny 2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
Fenny a3cac71ae8 🔦 move utils to internal 2020-09-14 09:09:06 +02:00
Fenny b8cb100e28 v2 2020-09-14 05:47:17 +02:00
Fenny ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00