modified redirect path during registration
This commit is contained in:
parent
65ee166570
commit
2d4f77b3a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue