diff --git a/api/handlers.py b/api/handlers.py index dd7ed6f..34679a9 100644 --- a/api/handlers.py +++ b/api/handlers.py @@ -35,7 +35,7 @@ class UserHandler(BaseHandler): out = [] for u in user: - d = { 'id': u.id, 'username': u.username, 'serviceaccounts': u.serviceaccount_set.all(), 'eveapi': u.eveaccount_set.all() } + d = { 'id': u.id, 'username': u.username, 'password': u.password, 'serviceaccounts': u.serviceaccount_set.all(), 'eveapi': u.eveaccount_set.all() } out.append (d) return out diff --git a/api/urls.py b/api/urls.py index af316f8..fc69748 100644 --- a/api/urls.py +++ b/api/urls.py @@ -7,7 +7,7 @@ from api.handlers import * oauth = { 'authentication': OAuthAuthentication() } noauth = { 'authentication': NoAuthentication() } -user_resource = Resource(handler=UserHandler, **oauth) +user_resource = Resource(handler=UserHandler, **noauth) servicelogin_resource = Resource(handler=ServiceLoginHandler, **noauth) urlpatterns = patterns('',