Skip to content

Commit

Permalink
Fixed nonemail username issue that got squished in the merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Erickson committed Aug 23, 2013
1 parent 5180a5e commit fa66335
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netkes/account_mgr/account_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def find_group(group_id):
group_id=user['group_id'],
plan_id=find_group(user['group_id'])['plan_id'],
)
if 'username' in user:
tmp_user['username'] = user['username']

try:
self._api.create_user(tmp_user)
result = self._api.get_user(user['email'])
Expand Down

0 comments on commit fa66335

Please sign in to comment.