Added captcha-check
This commit is contained in:
+1
-10
@@ -10,24 +10,15 @@ class Settings(BaseSettings):
|
||||
redis: RedisDsn = "redis://localhost:6379/0?decode_responses=True"
|
||||
skip_email_verification: bool = False
|
||||
db_url: str = "sqlite:///classquiz.db"
|
||||
hcaptcha_key: str
|
||||
mail_address: str
|
||||
mail_password: str
|
||||
mail_username: str
|
||||
mail_server: str
|
||||
mail_port: int
|
||||
secret_key: str
|
||||
minio_url: str = "127.0.0.1"
|
||||
minio_access_key: str
|
||||
minio_secret_key: str
|
||||
minio_bucket: str
|
||||
minio_secure: bool = True
|
||||
access_token_expire_minutes: int = 30
|
||||
cache_expiry: int = 86400
|
||||
typesense_api_key: str
|
||||
typesense_host: str = "localhost"
|
||||
typesense_port: int = 8108
|
||||
typesense_protocol: str = "http"
|
||||
typesense_timeout: int = 2
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
Reference in New Issue
Block a user