From d8e2ad594a706f907f571fd13959545297deb82b Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 7 Jul 2016 02:01:45 +0530 Subject: [PATCH] Redirect user to the login page while registering with ichain --- app/controllers/conference_registrations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/conference_registrations_controller.rb b/app/controllers/conference_registrations_controller.rb index b304f7d7..01c1d844 100644 --- a/app/controllers/conference_registrations_controller.rb +++ b/app/controllers/conference_registrations_controller.rb @@ -14,7 +14,7 @@ class ConferenceRegistrationsController < ApplicationController return # ichain does not allow us to create users during registration elsif (ENV['OSEM_ICHAIN_ENABLED'] == 'true') && !current_user - redirect_to root_path, alert: 'You need to sign in or sign up before continuing.' + redirect_to new_user_ichain_session_path, alert: 'You need to sign in or sign up before continuing.' return end