Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed `<CR><LF>` line endings to `<LF>` in `views.login`. Fixes #2

  • Loading branch information...
commit c677197b3cd17b71f79b8e71f9192ac6c3e2e2b4 1 parent 17b01c9
@mstepniowski mstepniowski authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cas_provider/views.py
View
4 cas_provider/views.py
@@ -58,10 +58,10 @@ def validate(request):
ticket = ServiceTicket.objects.get(ticket=ticket_string)
username = ticket.user.username
ticket.delete()
- return HttpResponse("yes\r\n%s\r\n" % username)
+ return HttpResponse("yes\n%s\n" % username)
except:
pass
- return HttpResponse("no\r\n\r\n")
+ return HttpResponse("no\n\n")
def logout(request, template_name='cas/logout.html'):
url = request.GET.get('url', None)
Please sign in to comment.
Something went wrong with that request. Please try again.