diff options
| author | Dennis Fink | 2026-10-27 23:49:24 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-27 23:49:24 +0100 |
| commit | c6a40d741c41cdc0af38eef89247c2120dcb6270 (patch) | |
| tree | 414df73642a42f4e24b3a0b4bb2bf914d678583d /webmentions_ssg/auth.py | |
| parent | 17ab56a3c7d3dbb3d66edf380ab637a61cefe50c (diff) | |
| download | webmentions-ssg-c6a40d741c41cdc0af38eef89247c2120dcb6270.tar.gz webmentions-ssg-c6a40d741c41cdc0af38eef89247c2120dcb6270.zip | |
fix(core): resolve static type checking issues
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/auth.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
