diff options
author | Andrew Godwin | 2022-11-16 23:10:55 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 23:10:55 -0700 |
commit | 7f8e792402b66dbb4a721be4f44306d528931b86 (patch) | |
tree | 8e423ef8cac2be69ef426b13f90ec57faf4ac42b /users/views | |
parent | 716d8a766ae0c4e2539f2df601269a3203bcd715 (diff) | |
download | takahe-7f8e792402b66dbb4a721be4f44306d528931b86.tar.gz takahe-7f8e792402b66dbb4a721be4f44306d528931b86.tar.bz2 takahe-7f8e792402b66dbb4a721be4f44306d528931b86.zip |
Force username to lowercase for now
Diffstat (limited to 'users/views')
-rw-r--r-- | users/views/identity.py | 2 |
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, |