mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
[bug] invalid URL redirection for SSO login
This commit is contained in:
parent
65470ca3e6
commit
74ac0bff85
@ -13,6 +13,7 @@
|
||||
- Fix a bug: managers do not see the name of the user who reserved a slot
|
||||
- Fix a bug: OpenAPI documentation is not available
|
||||
- Fix a bug: summary of create training availability shows incorrect alert about slot splitting
|
||||
- Fix a bug: invalid URL redirection for SSO login
|
||||
- Fix a security issue: updated websocket-extensions to 0.1.5 to fix [CVE-2020-7663](https://nvd.nist.gov/vuln/detail/CVE-2020-7663)
|
||||
- Fix a security issue: updated angular.js to 1.8 to fix [CVE-2020-7676](https://nvd.nist.gov/vuln/detail/CVE-2020-7676)
|
||||
- Fix a security issue: updated rack to 2.2.3 to fix [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184)
|
||||
|
@ -89,7 +89,3 @@ Rails.application.configure do
|
||||
config.log_level = Rails.application.secrets.log_level || :debug
|
||||
end
|
||||
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: Rails.application.secrets.default_host,
|
||||
protocol: Rails.application.secrets.default_protocol
|
||||
}
|
||||
|
@ -124,8 +124,3 @@ Rails.application.configure do
|
||||
# Do not dump schema after migrations.
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
end
|
||||
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: Rails.application.secrets.default_host,
|
||||
protocol: Rails.application.secrets.default_protocol
|
||||
}
|
||||
|
@ -112,8 +112,3 @@ Rails.application.configure do
|
||||
|
||||
end
|
||||
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: Rails.application.secrets.default_host,
|
||||
protocol: Rails.application.secrets.default_protocol
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,3 @@ Rails.application.configure do
|
||||
config.log_level = Rails.application.secrets.log_level.blank? ? :debug : Rails.application.secrets.log_level
|
||||
end
|
||||
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: Rails.application.secrets.default_host,
|
||||
protocol: Rails.application.secrets.default_protocol
|
||||
}
|
||||
|
6
config/initializers/default_url_options.rb
Normal file
6
config/initializers/default_url_options.rb
Normal file
@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.routes.default_url_options.merge!(
|
||||
host: Rails.application.secrets.default_host,
|
||||
protocol: Rails.application.secrets.default_protocol
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user