mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-15 22:42:54 +00:00
Add fingerprinting mechanism
This commit is contained in:
parent
da0890d60f
commit
f2268fe4d9
8 changed files with 65 additions and 20 deletions
|
@ -147,6 +147,12 @@ def get_args():
|
|||
action="store_true",
|
||||
help="Require use of an API key for programmatic access to the API, unless the client also sends a secret match",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--require-api-key-fingerprint",
|
||||
default=DEFARGS['REQUIRE_API_KEY_FINGERPRINT'],
|
||||
action="store_true",
|
||||
help="Require use of an API key for programmatic access to the API, unless the client also matches a fingerprint",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--shared-storage",
|
||||
type=str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue