aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/views/__init__.py
diff options
context:
space:
mode:
authorDennis Fink2026-11-17 21:23:57 +0100
committerDennis Fink2026-11-17 21:23:57 +0100
commitacd1f42847786963fc4aaeed884c3091700c9e35 (patch)
tree5a126bdfd96e69c985137bb2a3db8d9066ecd12d /webmentions_ssg/views/__init__.py
parentc4c17e3e046a627a7d2353c734bc69f05d4fc3b1 (diff)
downloadwebmentions-ssg-acd1f42847786963fc4aaeed884c3091700c9e35.tar.gz
webmentions-ssg-acd1f42847786963fc4aaeed884c3091700c9e35.zip
feat(core): add user account page
Add an authenticated user page showing the current username and remote address, including guidance for validating reverse-proxy hop configuration. Allow users to change their own password through a CSRF-protected WTForms form while preserving the active session and invalidating other existing sessions.
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/views/__init__.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/webmentions_ssg/views/__init__.py b/webmentions_ssg/views/__init__.py
index cdf024a..a4954b6 100644
--- a/webmentions_ssg/views/__init__.py
+++ b/webmentions_ssg/views/__init__.py
@@ -4,7 +4,15 @@
"""Collect and expose the routes for the blueprint."""
-from . import endpoint, moderation, received, session, sources
+from . import endpoint, moderation, received, session, sources, user
from .blueprint import webmentions_bp
-__all__ = ["endpoint", "moderation", "received", "session", "sources", "webmentions_bp"]
+__all__ = [
+ "endpoint",
+ "moderation",
+ "received",
+ "session",
+ "sources",
+ "user",
+ "webmentions_bp",
+]