Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions ietf/ietfauth/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

# various authentication and authorization utilities

import datetime

import oidc_provider.lib.claims
from oidc_provider.models import Client as ClientRecord


from functools import wraps
Expand Down Expand Up @@ -281,15 +278,6 @@ def scope_registration(self):
reg.save()
info = {}
if regs:
# maybe register attendance if logged in to follow a meeting
today = datetime.date.today()
if meeting.date <= today <= meeting.end_date():
client = ClientRecord.objects.get(client_id=self.client.client_id)
if client.name == 'Meetecho':
for reg in regs:
if not reg.attended:
reg.attended = True
reg.save()
# fill in info to return
ticket_types = set([])
reg_types = set([])
Expand Down