Redirect user to the login page while registering with ichain
This commit is contained in:
parent
798998b73f
commit
d8e2ad594a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue