Skip to content

Commit

Permalink
fix problems with firewall with dash symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Mar 7, 2018
1 parent 1e39fb3 commit 3d6b376
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ private function updateWebspaceConfig($webspaceKey, array $webspaceConfig)
$webspaceConfig[Configuration::FIREWALL] = $webspaceKey;
}

// TODO currently symfony normalize the security firewalls key which will replace "-" with "_".
$webspaceConfig[Configuration::FIREWALL] = str_replace('-', '_', $webspaceConfig[Configuration::FIREWALL]);

// Set role by webspace key
if (null === $webspaceConfig[Configuration::ROLE]) {
$webspaceConfig[Configuration::ROLE] = ucfirst($webspaceKey) . 'User';
Expand Down
2 changes: 1 addition & 1 deletion Tests/travis.php.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
memory_limit = 2048M
memory_limit = 4096M
xdebug.max_nesting_level = 2048

0 comments on commit 3d6b376

Please sign in to comment.