From c6a40d741c41cdc0af38eef89247c2120dcb6270 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 27 Oct 2026 23:49:24 +0100 Subject: fix(core): resolve static type checking issues --- webmentions_ssg/auth.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webmentions_ssg/auth.py') diff --git a/webmentions_ssg/auth.py b/webmentions_ssg/auth.py index de5b297..48a95b7 100644 --- a/webmentions_ssg/auth.py +++ b/webmentions_ssg/auth.py @@ -2,6 +2,8 @@ # # SPDX-License-Identifier: BSD-3-Clause +"""Configure user authentication and session loading.""" + from flask_login import LoginManager from . import DATABASE as db @@ -9,7 +11,7 @@ from .models import User AUTH = LoginManager() -AUTH.login_view = "root.login" +AUTH.login_view = "root.login" # pyright: ignore[reportAttributeAccessIssue] @AUTH.user_loader -- cgit v1.3.1