dots removed from username

This commit is contained in:
Serghei Mihai 2015-02-11 12:00:36 +01:00
parent eecd60db97
commit b08bb39fb9
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def create_organization(context, data_dict):
organization = data_dict['organization']
user = data_dict['user']
user_dict = {
'name': user['name'].lower().replace(' ', ''),
'name': user['name'].lower().replace(' ', '').replace('.', ''),
'email': user['email_address'],
'password': user['id']
}