Revision 60b9fd7f
Added by Serghei Mihai over 8 years ago
ckanext/ozwillo_organization_api/plugin.py | ||
---|---|---|
64 | 64 |
user = data_dict['user'] |
65 | 65 |
user_dict = { |
66 | 66 |
'id': user['id'], |
67 |
'name': user['name'].lower().replace(' ', '').replace('.', ''),
|
|
67 |
'name': user['id'].replace('-', ''),
|
|
68 | 68 |
'email': user['email_address'], |
69 | 69 |
'password': user['id'] |
70 | 70 |
} |
Also available in: Unified diff
user name built from ozwillo id