aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/migrations
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/migrations
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 'webmentions_ssg/migrations')
-rw-r--r--webmentions_ssg/migrations/versions/ef8a9b6c2d41_received_status_history.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/webmentions_ssg/migrations/versions/ef8a9b6c2d41_received_status_history.py b/webmentions_ssg/migrations/versions/ef8a9b6c2d41_received_status_history.py
index db63011..92b8d25 100644
--- a/webmentions_ssg/migrations/versions/ef8a9b6c2d41_received_status_history.py
+++ b/webmentions_ssg/migrations/versions/ef8a9b6c2d41_received_status_history.py
@@ -40,9 +40,7 @@ def upgrade():
sa.Column("recovery_attempts", sa.Integer(), nullable=False),
sa.Column("occurred_at", sa.DateTime(timezone=True), nullable=False),
sa.ForeignKeyConstraint(
- ["webmention_uuid"],
- ["received_webmentions.uuid"],
- ondelete="CASCADE",
+ ["webmention_uuid"], ["received_webmentions.uuid"], ondelete="CASCADE"
),
)
op.create_index(