summaryrefslogtreecommitdiffstats
path: root/users/views/identity.py
diff options
context:
space:
mode:
Diffstat (limited to 'users/views/identity.py')
-rw-r--r--users/views/identity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/views/identity.py b/users/views/identity.py
index b9298b7..b83ba9a 100644
--- a/users/views/identity.py
+++ b/users/views/identity.py
@@ -147,7 +147,7 @@ class CreateIdentity(FormView):
domain_instance = Domain.get_domain(domain)
new_identity = Identity.objects.create(
actor_uri=f"https://{domain_instance.uri_domain}/@{username}@{domain}/actor/",
- username=username,
+ username=username.lower(),
domain_id=domain,
name=form.cleaned_data["name"],
local=True,