Better password security for new users

This commit is contained in:
2025-06-04 14:21:12 +02:00
parent 41cdd5ec7f
commit 905a056c87
12 changed files with 166 additions and 57 deletions

2
app.py
View File

@@ -29,6 +29,8 @@ def create_app():
app.config['SECRET_KEY'] = os.getenv('SECRET_KEY', 'your-secure-secret-key-here')
app.config['UPLOAD_FOLDER'] = os.path.join(app.root_path, 'static', 'uploads')
app.config['CSS_VERSION'] = os.getenv('CSS_VERSION', '1.0.3') # Add CSS version for cache busting
app.config['SERVER_NAME'] = os.getenv('SERVER_NAME', '127.0.0.1:5000')
app.config['PREFERRED_URL_SCHEME'] = os.getenv('PREFERRED_URL_SCHEME', 'http')
# Initialize extensions
db.init_app(app)