~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(auth): use valid dashboard route on change password page (#3024)
perryedbd8ad7af10
diff --git a/src/local_deep_research/web/templates/auth/change_password.html b/src/local_deep_research/web/templates/auth/change_password.htmlindex 0adb364460..1d9847f146 100644--- a/src/local_deep_research/web/templates/auth/change_password.html+++ b/src/local_deep_research/web/templates/auth/change_password.html@@ -189,7 +189,7 @@</form><div class="ldr-auth-links">- <a href="{{ url_for('research.index') }}">+ <a href="{{ url_for('index') }}"><i class="fas fa-arrow-left"></i> Back to Dashboard</a><p class="text-muted small mt-3">diff --git a/tests/web/auth/test_auth_routes.py b/tests/web/auth/test_auth_routes.pyindex 0a909e89e4..25c185ff0b 100644--- a/tests/web/auth/test_auth_routes.py+++ b/tests/web/auth/test_auth_routes.py@@ -10,6 +10,7 @@ Tests cover:- Open redirect prevention"""+from pathlib import Pathfrom unittest.mock import MagicMock, patchfrom flask import Flask@@ -706,6 +707,39 @@ class TestChangePassword:password_requirements=PasswordValidator.get_requirements(),)+ def test_renders_template_without_missing_dashboard_route(self):+ """Should render the real template using the root dashboard route."""+ template_dir = (+ Path(__file__).resolve().parents[3]+ / "src"+ / "local_deep_research"+ / "web"+ / "templates"+ )+ app = Flask(__name__, template_folder=str(template_dir))+ app.secret_key = "test"+ app.config["WTF_CSRF_ENABLED"] = False+ app.jinja_env.globals["vite_hmr"] = lambda: ""+ app.jinja_env.globals["vite_asset"] = lambda *_args, **_kwargs: ""+ app.jinja_env.globals["csrf_token"] = lambda: "test-csrf-token"++ @app.route("/")+ def index():+ return "Index"++ from local_deep_research.web.auth.routes import auth_bp++ app.register_blueprint(auth_bp)++ with app.test_client() as client:+ with client.session_transaction() as sess:+ sess["username"] = "testuser"++ response = client.get("/auth/change-password")++ assert response.status_code == 200+ assert b'href="/"' in response.data+def test_returns_400_for_weak_new_password(self):"""Should return 400 when new password is too weak."""app = Flask(__name__)