From 9f093cf07a3531ee4b7d02c20151e21c141a93de Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Fri, 30 Oct 2026 08:11:05 +0100 Subject: fix(core): harden authentication flows Reduce login abuse and username enumeration by rate limiting POST attempts and always performing password verification, even for unknown users. Require authenticated, CSRF-protected POST requests for logout so sessions cannot be terminated through cross-site or accidental GET requests. --- webmentions_ssg/templates/base.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'webmentions_ssg/templates/base.html') diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html index fabfaaf..5cd521b 100644 --- a/webmentions_ssg/templates/base.html +++ b/webmentions_ssg/templates/base.html @@ -44,7 +44,10 @@ SPDX-License-Identifier: BSD-3-Clause href='{{ url_for("root.received") }}'>Received Sent - Logout +
+ + +
{% endif %} -- cgit v1.3.1