File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ defmodule Plug.Crypto do
168168 * `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
169169 when generating the encryption and signing keys. Defaults to `:sha256`
170170 * `:signed_at` - set the timestamp of the token in seconds.
171- Defaults to `System.system_time(:second )`
171+ Defaults to `System.system_time(:millisecond )`
172172 * `:max_age` - the default maximum age of the token. Defaults to
173173 `86400` seconds (1 day) and it may be overridden on `verify/4`.
174174
@@ -196,7 +196,7 @@ defmodule Plug.Crypto do
196196 * `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
197197 when generating the encryption and signing keys. Defaults to `:sha256`
198198 * `:signed_at` - set the timestamp of the token in seconds.
199- Defaults to `System.system_time(:second )`
199+ Defaults to `System.system_time(:millisecond )`
200200 * `:max_age` - the default maximum age of the token. Defaults to
201201 `86400` seconds (1 day) and it may be overridden on `decrypt/4`.
202202
You can’t perform that action at this time.
0 commit comments