diff --git a/vendor/symposion/proposals/views.py b/vendor/symposion/proposals/views.py index 925ad17c..d40da400 100644 --- a/vendor/symposion/proposals/views.py +++ b/vendor/symposion/proposals/views.py @@ -60,18 +60,15 @@ def proposal_submit(request): "kinds": kinds, }) - +@login_required def proposal_submit_kind(request, kind_slug): kind = get_object_or_404(ProposalKind, slug=kind_slug) - if not request.user.is_authenticated(): - return redirect("home") # @@@ unauth'd speaker info page? - else: - try: - speaker_profile = request.user.speaker_profile - except ObjectDoesNotExist: - return redirect("dashboard") + try: + speaker_profile = request.user.speaker_profile + except ObjectDoesNotExist: + return redirect("speaker_create") if not kind.section.proposalsection.is_available(): return redirect("proposal_submit")