Change /api/user to a noauth for the moment

This commit is contained in:
2010-06-07 13:41:10 +01:00
parent b5e88dc9d9
commit b4dcdd56b8
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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('',