From e0f54fb6613c13b5c2ce5747ed0ea9ccfed6b4e6 Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 19 Dec 2025 12:34:02 +0100 Subject: [PATCH] feat: disable open registration and require invitations --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/snek/templates/register.html | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd0b89d..af7543a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,14 @@ + +## Version 1.10.0 - 2025-12-19 + +Users must now receive an invitation to register for an account, as open registration is disabled. + +**Changes:** 1 files, 6 lines +**Languages:** HTML (6 lines) + ## Version 1.9.0 - 2025-12-18 Adds a debug logging option to the serve command for enhanced troubleshooting. Improves error handling across the application and corrects a typo in the ip2location middleware. diff --git a/pyproject.toml b/pyproject.toml index b0451db..5da6a0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "Snek" -version = "1.9.0" +version = "1.10.0" readme = "README.md" #license = { file = "LICENSE", content-type="text/markdown" } description = "Snek Chat Application by Molodetz" diff --git a/src/snek/templates/register.html b/src/snek/templates/register.html index 21f8fe0..b73324d 100644 --- a/src/snek/templates/register.html +++ b/src/snek/templates/register.html @@ -11,7 +11,7 @@ {% block main %}
- - + Sorry, Snek became a closed community. You can only join by receiving an invitation by any member. This ensures that Snek is a safe and secure place for developers, testers, and AI professionals. + {#
-{% endblock %} \ No newline at end of file +{% endblock %}