Commit 60013fbf authored by Valentin Samir's avatar Valentin Samir

ProxyGrantingTicket are never validate

parent 69935e97
......@@ -49,7 +49,7 @@ class User(models.Model):
for ticket_class in ticket_classes:
for ticket in ticket_class.objects.filter(
user=self,
validate=True,
validate=True if ticket_class != ProxyGrantingTicket else False,
single_log_out=True
):
async_list.append(ticket.logout(request, session))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment