aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/auth.py')
-rw-r--r--webmentions_ssg/auth.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/webmentions_ssg/auth.py b/webmentions_ssg/auth.py
index 633aa82..b943404 100644
--- a/webmentions_ssg/auth.py
+++ b/webmentions_ssg/auth.py
@@ -44,8 +44,7 @@ def validate_password(password: str) -> None:
@AUTH.user_loader
def load_user(session_id: str) -> User | None:
- """
- Load a user from the database by identifier.
+ """Load a user from the database by identifier.
:param session_id: Database ID and password-hash fingerprint stored in the session.
:return: Matching user, or ``None`` if no user exists with the identifier.