don't show courses/create new course if account has not been activated. Also better error messaging on failed logins. Also redirect to index after signup.
This commit is contained in:
@@ -118,7 +118,8 @@ def index(request):
|
||||
course.location.org,
|
||||
course.location.course,
|
||||
course.location.name]))
|
||||
for course in courses]
|
||||
for course in courses],
|
||||
'user': request.user
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user