This commit is contained in:
Shlok Srivastava 2017-03-06 20:58:56 +00:00 committed by GitHub
commit eefa391747

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