Skip to content

Commit

Permalink
remove unecessary settings
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmcdonald-noaa committed May 6, 2024
1 parent 7d0a298 commit 4863e53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion web/modules/weather_login/weather_login.info.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Weather Login Customizations
type: module
description: Module description.
description: A module for customizing the /user/login page to isolate login to SSO.
package: weather.gov
core_version_requirement: ^10
6 changes: 0 additions & 6 deletions web/sites/default/settings.cloudgov.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,35 +85,29 @@
case "design":
// TODO: Setup on SAML certs and remove this bool
$settings["weather_login_local_form"] = true;
$config["config_split.config_split.design"]["status"] = true;
$config["samlauth.authentication"]["sp_entity_id"] =
"https://weathergov-design.app.cloud.gov";
break;
case "greg":
$config["config_split.config_split.cloudgov"]["status"] = true;
$config["samlauth.authentication"]["sp_entity_id"] =
"https://weathergov-greg.app.cloud.gov";
break;

case "eric":
$config["config_split.config_split.cloudgov"]["status"] = true;
$config["samlauth.authentication"]["sp_entity_id"] =
"https://weathergov-eric.app.cloud.gov";
break;

case "staging":
$config["config_split.config_split.cloudgov"]["status"] = true;
$config["samlauth.authentication"]["sp_entity_id"] =
"https://weathergov-staging.app.cloud.gov";
break;

case "prod":
$config["config_split.config_split.cloudgov"]["status"] = true;
$config["samlauth.authentication"]["sp_entity_id"] =
"https://beta.weather.gov";
break;
}

// Add the application name so that it can be used in NewRelic reporting
$settings["wx.application_name"] = $cf_application_data["application_name"];
$settings["application_environment"] = $cf_application_data["space_name"];

0 comments on commit 4863e53

Please sign in to comment.