Revision dda2e499 snf-astakos-app/astakos/im/target/shibboleth.py

b/snf-astakos-app/astakos/im/target/shibboleth.py
36 36
from django.contrib import messages
37 37
from django.template import RequestContext
38 38
from django.forms.models import inlineformset_factory
39
from django.views.decorators.http import require_http_methods
39 40

  
40 41
from astakos.im.util import prepare_response, get_context, get_invitation
41 42
from astakos.im.views import requires_anonymous, render_response
......
55 56
    SHIB_SESSION_ID = "HTTP_SHIB_SESSION_ID"
56 57
    SHIB_MAIL = "HTTP_SHIB_MAIL"
57 58

  
59
@require_http_methods(["GET", "POST"])
58 60
@requires_anonymous
59 61
def login(request,  backend=None, on_login_template='im/login.html', on_creation_template='im/third_party_registration.html', extra_context={}):
60 62
    tokens = request.META

Also available in: Unified diff