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 #251 from EsupPortail/drclockwork/bugfix_local_aut…
Browse files Browse the repository at this point in the history
…hentication_with_cas

Drclockwork/bugfix_local_authentication_with_cas
  • Loading branch information
DrClockwork authored Oct 13, 2017
2 parents 5c5bc70 + fb47466 commit 2a4aa7a
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 2a4aa7a

Please sign in to comment.