summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-04-05 15:21:02 +0200
committerLeif Johansson <leifj@sunet.se>2011-04-05 15:21:02 +0200
commitf936e1317c3ba08ab94a39ea99126c9d61337718 (patch)
tree3238dae7d88d93503ad294e61f1318f9149a0b8b
parent321783bb55bab35e7f0ec0d03d3e3f167acb9031 (diff)
turn off epe for now
-rw-r--r--src/meetingtools/apps/auth/views.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py
index f49315f..bbeb4be 100644
--- a/src/meetingtools/apps/auth/views.py
+++ b/src/meetingtools/apps/auth/views.py
@@ -121,10 +121,10 @@ def accounts_login_federated(request):
member = affiliation in affiliations
connect_api.add_remove_member(principal.get('principal-id'),group.get('principal-id'),member)
- for e in epe:
- group = connect_api.find_or_create_principal('name',e,'group',{'type': 'group','has-children':'1','name': e})
- if group:
- connect_api.add_remove_member(principal.get('principal-id'),group.get('principal-id'),True)
+ #for e in epe:
+ # group = connect_api.find_or_create_principal('name',e,'group',{'type': 'group','has-children':'1','name': e})
+ # if group:
+ # connect_api.add_remove_member(principal.get('principal-id'),group.get('principal-id'),True)
next = request.session.get("after_login_redirect", None)
if next is not None: