Ignore non used parallele requestor for SSO
This commit is contained in:
parent
bc08402dab
commit
54e4314305
@ -79,6 +79,7 @@ class User(models.Model):
|
|||||||
async_list.append(ticket.logout(request, session))
|
async_list.append(ticket.logout(request, session))
|
||||||
ticket.delete()
|
ticket.delete()
|
||||||
for future in async_list:
|
for future in async_list:
|
||||||
|
if future:
|
||||||
try:
|
try:
|
||||||
future.result()
|
future.result()
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
|
Loading…
Reference in New Issue
Block a user