We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a64dd8c commit 820b0baCopy full SHA for 820b0ba
lib/phoenix/token.ex
@@ -152,7 +152,7 @@ defmodule Phoenix.Token do
152
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
153
when generating the encryption and signing keys. Defaults to `:sha256`
154
* `:signed_at` - set the timestamp of the token in seconds.
155
- Defaults to `System.os_time(:millisecond)`
+ Defaults to `System.os_time(:second)`
156
* `:max_age` - the default maximum age of the token. Defaults to
157
86400 seconds (1 day) and it may be overridden on `decrypt/4`.
158
0 commit comments