Fix :iat typo
This commit is contained in:
parent
eefbad3d55
commit
c0190d1b13
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
(extend-protocol JsonWebToken
|
(extend-protocol JsonWebToken
|
||||||
JWT
|
JWT
|
||||||
(init [this claims]
|
(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 "")))
|
(assoc this :header {:alg "none" :typ "JWT"} :claims claims :signature "")))
|
||||||
|
|
||||||
(encoded-header [this]
|
(encoded-header [this]
|
||||||
|
|
Loading…
Reference in a new issue