From e593f3fa1fd0dbb1de1aca7f1b5271d0d28ebb8c Mon Sep 17 00:00:00 2001 From: zPlus Date: Sat, 6 Feb 2021 11:34:46 +0100 Subject: [PATCH] Temporarily disable new registrations. --- freepost/__init__.py | 2 ++ freepost/templates/banner.html | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/freepost/__init__.py b/freepost/__init__.py index df1beec2..4fe63ed8 100644 --- a/freepost/__init__.py +++ b/freepost/__init__.py @@ -237,6 +237,8 @@ def register_new_account (): Check form for creating new account. """ + abort() + username = request.forms.getunicode ('username') password = request.forms.getunicode ('password') diff --git a/freepost/templates/banner.html b/freepost/templates/banner.html index bef5385e..0599dbaa 100644 --- a/freepost/templates/banner.html +++ b/freepost/templates/banner.html @@ -41,7 +41,10 @@ _\(/_ .:.*_\/_* : /\ : {% endif %} - + +Registrations are momentarily disabled because of the recent influx of spam. +Please write us an email if you need a new account. Sorry for the trouble. +