mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Change /api/user to a noauth for the moment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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('',
|
||||
|
||||
Reference in New Issue
Block a user