ProxyGrantingTicket are never validate
This commit is contained in:
parent
69935e9761
commit
60013fbfff
|
@ -49,7 +49,7 @@ class User(models.Model):
|
||||||
for ticket_class in ticket_classes:
|
for ticket_class in ticket_classes:
|
||||||
for ticket in ticket_class.objects.filter(
|
for ticket in ticket_class.objects.filter(
|
||||||
user=self,
|
user=self,
|
||||||
validate=True,
|
validate=True if ticket_class != ProxyGrantingTicket else False,
|
||||||
single_log_out=True
|
single_log_out=True
|
||||||
):
|
):
|
||||||
async_list.append(ticket.logout(request, session))
|
async_list.append(ticket.logout(request, session))
|
||||||
|
|
Loading…
Reference in New Issue