Skip to content
Snippets Groups Projects
Commit 7b27b016 authored by Piotr Mitros's avatar Piotr Mitros
Browse files

Default view now info

parent c52727b0
No related merge requests found
......@@ -28,7 +28,7 @@ def csrf_token(context):
@ensure_csrf_cookie
def index(request):
if settings.COURSEWARE_ENABLED and request.user.is_authenticated():
return redirect('/courseware')
return redirect('/info')
else:
csrf_token = csrf(request)['csrf_token']
# TODO: Clean up how 'error' is done.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment