aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/base.html
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/templates/base.html
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/templates/base.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index c7af077..4fffb38 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -49,6 +49,8 @@ SPDX-License-Identifier: BSD-3-Clause
href="{{ url_for('webmentions.moderation') }}">Source rules</a>
<a class="nav-link{% if request.endpoint == 'webmentions.source_list' %} active{% endif %}"
href='{{ url_for("webmentions.source_list") }}'>Sent</a>
+ <a class="nav-link{% if request.endpoint == 'webmentions.user_page' %} active{% endif %}"
+ href="{{ url_for('webmentions.user_page') }}">User</a>
<form action="{{ url_for('webmentions.logout') }}"
method="post"
class="m-0">