Skip to content

Commit

Permalink
add port to config response
Browse files Browse the repository at this point in the history
  • Loading branch information
station committed Jul 25, 2016
1 parent 9629fd6 commit f793201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def post(self, request, *args, **kwargs):
'username': profile.account.username,
'password': profile.account.password,
'auth': auth,
'min_cp': profile.min_cp
'min_cp': profile.min_cp,
'port': profile.connection.port,
}
json_response = json.dumps(data)
return HttpResponse(json_response)
Expand Down

0 comments on commit f793201

Please sign in to comment.