Skip to content

Commit

Permalink
Fix signed at default value docs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 2, 2024
1 parent f10770d commit a7c4318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phoenix/token.ex
Expand Up @@ -125,7 +125,7 @@ defmodule Phoenix.Token do
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
when generating the encryption and signing keys. Defaults to `:sha256`
* `:signed_at` - set the timestamp of the token in seconds.
Defaults to `System.system_time(:second)`
Defaults to `System.system_time(:millisecond)`
* `:max_age` - the default maximum age of the token. Defaults to
86400 seconds (1 day) and it may be overridden on `verify/4`.
Expand All @@ -151,7 +151,7 @@ defmodule Phoenix.Token do
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
when generating the encryption and signing keys. Defaults to `:sha256`
* `:signed_at` - set the timestamp of the token in seconds.
Defaults to `System.system_time(:second)`
Defaults to `System.system_time(:millisecond)`
* `:max_age` - the default maximum age of the token. Defaults to
86400 seconds (1 day) and it may be overridden on `decrypt/4`.
Expand Down

0 comments on commit a7c4318

Please sign in to comment.