Skip to content
This repository was archived by the owner on Mar 24, 2019. It is now read-only.

Commit d01489f

Browse files
committed
Redirect anonymous proposal submitters to login.
Redirect visitors to the proposal submission page who are not already logged in to the login page, as opposed to the homepage. This prevents proposal submission from breaking if no "home" view is defined.
1 parent ce3413f commit d01489f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

symposion/proposals/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def proposal_submit(request):
4343
messages.info(request, _("To submit a proposal, please "
4444
"<a href='{0}'>log in</a> and create a speaker profile "
4545
"via the dashboard.".format(settings.LOGIN_URL)))
46-
return redirect("home") # @@@ unauth'd speaker info page?
46+
return redirect("account_login")
4747
else:
4848
try:
4949
request.user.speaker_profile

0 commit comments

Comments
 (0)