Skip to content
Snippets Groups Projects
Commit bc650887 authored by Greg Price's avatar Greg Price
Browse files

Merge pull request #2070 from edx/fix/gprice/moar-cookies

Ensure CSRF cookie is present for login and registration pages
parents f200bca6 d4cee365
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,7 @@ def _cert_info(user, course, cert_status):
return d
@ensure_csrf_cookie
def signin_user(request):
"""
This view will display the non-modal login form
......@@ -227,6 +228,7 @@ def signin_user(request):
return render_to_response('login.html', context)
@ensure_csrf_cookie
def register_user(request):
"""
This view will display the non-modal registration form
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment