mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-23 17:34:17 +03:00
minor ticket fixes
This commit is contained in:
parent
f23c68d7bf
commit
7137f151fb
@ -142,7 +142,7 @@ class Dispatcher(View):
|
||||
response[k] = val
|
||||
return response
|
||||
except RequestError as e:
|
||||
return http.HttpResponseServerError(unicode(e))
|
||||
return http.HttpResponseBadRequest(unicode(e))
|
||||
except ResponseError as e:
|
||||
return http.HttpResponseServerError(unicode(e))
|
||||
except AccessDenied as e:
|
||||
|
@ -129,6 +129,7 @@ class Tickets(Handler):
|
||||
groups = grps
|
||||
|
||||
time = int(self._params.get('time', 60))
|
||||
time = 60 if time < 1 else time
|
||||
realname = self._params.get('realname', self._params['username'])
|
||||
servicePool = self._params.get('servicePool', None)
|
||||
transport = None
|
||||
|
Loading…
Reference in New Issue
Block a user