GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 1155ab47 authored by Alexander Færøy's avatar Alexander Færøy 🍍

Replace whitespace in usernames with underscore.

parent ae015bf5
......@@ -8,7 +8,7 @@ def approve_user(model):
try:
user = client.users.create({
"name": model.username,
"username": model.username,
"username": model.username.replace(" ", "_"),
"email": model.email,
"reset_password": True,
"can_create_group": False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment