Commit b867348 1 parent 2992c69 commit b867348 Copy full SHA for b867348
File tree 1 file changed +2
-2
lines changed
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
168
168
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
169
169
when generating the encryption and signing keys. Defaults to `:sha256`
170
170
* `:signed_at` - set the timestamp of the token in seconds.
171
- Defaults to `System.system_time(:second )`
171
+ Defaults to `System.system_time(:millisecond )`
172
172
* `:max_age` - the default maximum age of the token. Defaults to
173
173
`86400` seconds (1 day) and it may be overridden on `verify/4`.
174
174
@@ -196,7 +196,7 @@ defmodule Plug.Crypto do
196
196
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
197
197
when generating the encryption and signing keys. Defaults to `:sha256`
198
198
* `:signed_at` - set the timestamp of the token in seconds.
199
- Defaults to `System.system_time(:second )`
199
+ Defaults to `System.system_time(:millisecond )`
200
200
* `:max_age` - the default maximum age of the token. Defaults to
201
201
`86400` seconds (1 day) and it may be overridden on `decrypt/4`.
202
202
You can’t perform that action at this time.
0 commit comments