Atualizar app/config.py

This commit is contained in:
2026-08-19 21:08:14 -03:00
parent 0269612f6c
commit c44ce9af80
+2
View File
@@ -5,6 +5,8 @@ import os
class Config: class Config:
"""Base configuration for the Flask application.""" """Base configuration for the Flask application."""
AUTH_MODE = os.getenv("AUTH_MODE", "db") # "db" ou "oauth"
# Secret key for sessions and cookies. # Secret key for sessions and cookies.
SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "change-this-secret") SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "change-this-secret")