Fix :iat typo

This commit is contained in:
Tobias Steiner 2013-08-09 15:27:53 +02:00
parent eefbad3d55
commit c0190d1b13

View file

@ -28,7 +28,7 @@
(extend-protocol JsonWebToken
JWT
(init [this claims]
(let [claims (reduce #(update-map % %2 to-intdate) claims [:exp :nbf :iot])]
(let [claims (reduce #(update-map % %2 to-intdate) claims [:exp :nbf :iat])]
(assoc this :header {:alg "none" :typ "JWT"} :claims claims :signature "")))
(encoded-header [this]