Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #252 from EsupPortail/dev
Browse files Browse the repository at this point in the history
bugfix/local_authentication_with_cas
  • Loading branch information
DrClockwork authored Oct 13, 2017
2 parents a16a1c1 + 2a4aa7a commit 7f82108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod_project/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def core_login(request):
next = request.GET['next'] if request.GET.get('next') else request.POST['next'] if request.POST.get(
'next') else request.META['HTTP_REFERER'] if request.META.get('HTTP_REFERER') else "/"

if settings.USE_CAS:
if settings.USE_CAS and not request.POST:
from django_cas_gateway.views import login as login_cas
from urllib import urlencode

Expand Down

0 comments on commit 7f82108

Please sign in to comment.