Commit 8efef0ba authored by Dan Pascu's avatar Dan Pascu

Lowercase the username we send to the enrollment server

parent 845ff676
......@@ -401,7 +401,7 @@ class AddAccountDialog(base_class, ui_class):
timezone = '/'.join(os.readlink('/etc/localtime').split('/')[-2:])
except (OSError, IOError):
pass
enrollment_data = dict(username=username.encode('utf-8'),
enrollment_data = dict(username=username.lower().encode('utf-8'),
password=password.encode('utf-8'),
email=email_address.encode('utf-8'),
display_name=display_name.encode('utf-8'),
......
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