forked from enviPath/enviPy
comment
This commit is contained in:
@ -158,6 +158,7 @@ def register(request):
|
||||
if next := request.POST.get("next"):
|
||||
context["next"] = next
|
||||
|
||||
# We are not allowing usernames or emails to contain any html (unlike using tags=s.ALLOWED_HTML_TAGS elsewhere)
|
||||
username = nh3.clean(request.POST.get("username", "")).strip()
|
||||
email = nh3.clean(request.POST.get("email", "")).strip()
|
||||
password = request.POST.get("password", "").strip()
|
||||
|
||||
Reference in New Issue
Block a user