Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/concerns/idv_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def idv_attempter_throttled?

def sp_context_needed?
return if sp_from_sp_session.present?
return if LoginGov::Hostdata.env != 'prod'
return if LoginGov::Hostdata.env != AppConfig.env.sp_context_needed_environment

redirect_to account_url
end
Expand Down
1 change: 1 addition & 0 deletions config/application.yml.default
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ session_check_delay: '30'
session_check_frequency: '30'
session_timeout_in_minutes: '15'
session_timeout_warning_seconds: '150'
sp_context_needed_environment: 'prod'
sp_handoff_bounce_max_seconds: '2'
show_user_attribute_deprecation_warnings: 'false'
unauthorized_scope_enabled: 'false'
Expand Down