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
|
@ -108,7 +108,7 @@ def get_emoji():
|
|||
return random.choice(["😂", "🤪", "😜", "🤣", "😹", "🐒", "🙈", "🤡", "🥸", "😆", "🥴", "🐸", "🐤", "🐒🙊", "👀", "💩", "🤯", "😛", "🤥", "👻"])
|
||||
|
||||
def setup(args):
|
||||
if args.api_keys and args.require_api_key_secret:
|
||||
if args.require_api_key_secret:
|
||||
s = get_storage()
|
||||
|
||||
if not s.exists("secret_0"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue