mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
max_signed_tokens_ttl setting, closes #1858
Also redesigned token format to include creation time and optional duration.
This commit is contained in:
parent
af5d5d0243
commit
382a871583
6 changed files with 99 additions and 25 deletions
|
|
@ -129,6 +129,11 @@ SETTINGS = (
|
|||
True,
|
||||
"Allow users to create and use signed API tokens",
|
||||
),
|
||||
Setting(
|
||||
"max_signed_tokens_ttl",
|
||||
0,
|
||||
"Maximum allowed expiry time for signed API tokens",
|
||||
),
|
||||
Setting("suggest_facets", True, "Calculate and display suggested facets"),
|
||||
Setting(
|
||||
"default_cache_ttl",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue