feat: disable open registration and require invitations

This commit is contained in:
retoor 2025-12-19 12:34:02 +01:00
parent 8bacd6aa3f
commit e0f54fb661
3 changed files with 12 additions and 4 deletions

View File

@ -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 ## 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. 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.

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "Snek" name = "Snek"
version = "1.9.0" version = "1.10.0"
readme = "README.md" readme = "README.md"
#license = { file = "LICENSE", content-type="text/markdown" } #license = { file = "LICENSE", content-type="text/markdown" }
description = "Snek Chat Application by Molodetz" description = "Snek Chat Application by Molodetz"

View File

@ -11,7 +11,7 @@
{% block main %} {% block main %}
<div class="back-form"> <div class="back-form">
<fancy-button url="/back" text="Back" size="auto"></fancy-button> <fancy-button url="/back" text="Back" size="auto"></fancy-button>
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.
<generic-form class="center" url="/register.json" preloaded-structure='{{ form|tojson|safe }}'></generic-form> {#<generic-form class="center" url="/register.json" preloaded-structure='{{ form|tojson|safe }}'></generic-form #}>
</div> </div>
{% endblock %} {% endblock %}