X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fslicerequestview.py;h=c7102dc7393e0bab815190248b58a27c5932897c;hb=5832ecf48744f820a3e574f2014411d7992ff6de;hp=70ef4b72150db202d4e9224ef03af591ae09e03a;hpb=db5979f2fce0bb22fca29552f47c26be9654b917;p=myslice.git diff --git a/portal/slicerequestview.py b/portal/slicerequestview.py index 70ef4b72..c7102dc7 100644 --- a/portal/slicerequestview.py +++ b/portal/slicerequestview.py @@ -111,11 +111,12 @@ class SliceRequestView (LoginRequiredAutoLogoutView, ThemeView): # get the domain url current_site = Site.objects.get_current() current_site = current_site.domain - - # getting the authority_hrn from the selected organization - for authority in authorities: - if authority['name'] == request.POST.get('org_name', ''): - authority_hrn = authority['authority_hrn'] + + if theme.theme != 'fed4fire': + # getting the authority_hrn from the selected organization + for authority in authorities: + if authority['name'] == request.POST.get('org_name', ''): + authority_hrn = authority['authority_hrn'] # Handle the case when we use only hrn and not name if authority_hrn is None: