remove unused flask_httpauth module

This commit is contained in:
2025-04-01 21:54:58 +02:00
parent 9decf702e3
commit 0319a5c7d9
4 changed files with 2 additions and 22 deletions

View File

@@ -17,7 +17,6 @@ from flask import (
session,
url_for,
)
from flask_httpauth import HTTPBasicAuth
from home_stream.helpers import (
file_type,
@@ -26,11 +25,8 @@ from home_stream.helpers import (
secure_path,
serve_via_gunicorn,
validate_user,
verify_password,
)
auth = HTTPBasicAuth()
def create_app(config_path: str) -> Flask:
"""Create a Flask application instance."""
@@ -42,7 +38,6 @@ def create_app(config_path: str) -> Flask:
def init_routes(app: Flask):
"""Initialize routes for the Flask application."""
auth.verify_password(verify_password)
@app.context_processor
def inject_auth():

View File

@@ -4,7 +4,7 @@
"""WSGI entry point for the Home Stream application."""
from home_stream.app import create_app as build_app
from .app import create_app as build_app
def create_app(config_path):