modified redirect path during registration

This commit is contained in:
shlok007 2016-07-06 15:32:47 -04:00
parent 65ee166570
commit 2d4f77b3a3

View file

@ -14,7 +14,7 @@ class ConferenceRegistrationsController < ApplicationController
return return
# ichain does not allow us to create users during registration # ichain does not allow us to create users during registration
elsif (ENV['OSEM_ICHAIN_ENABLED'] == 'true') && !current_user 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_session_path, alert: 'You need to sign in or sign up before continuing.'
return return
end end