diff --git a/edivorce/apps/core/views/main.py b/edivorce/apps/core/views/main.py index 03f5b93b..9572c6ad 100644 --- a/edivorce/apps/core/views/main.py +++ b/edivorce/apps/core/views/main.py @@ -20,10 +20,10 @@ def serve(request, path): def intro(request): - # if the user is returning from BCeID registration, then redirect them to the dashboard + # if the user is returning from BCeID registration, then log them in to the site if request.bceid_user.is_authenticated and request.session.get('went-to-register', False) == True: request.session['went-to-register'] = False - return redirect(settings.FORCE_SCRIPT_NAME[:-1] + '/overview') + return redirect(settings.FORCE_SCRIPT_NAME[:-1] + '/login') return render(request, 'intro.html', context={'hide_nav': True})