We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff1f6c9 commit 354ea0fCopy full SHA for 354ea0f
1 file changed
tkp_utils/tornado/handlers/register.py
@@ -23,6 +23,8 @@ def _get(self):
23
if self.is_admin:
24
with self.session() as session:
25
self.write(ujson.dumps(session.query(self.user_sql_class).all()))
26
+ else:
27
+ self._set_401("Unauthorized to view all clients")
28
29
@tornado.gen.coroutine
30
def post(self):
0 commit comments