We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475264c commit 7c2eb26Copy full SHA for 7c2eb26
lib/ConfigHelper.php
@@ -3,6 +3,7 @@
3
namespace SimpleSAML\Module\drupalauth;
4
5
use SimpleSAML\Configuration;
6
+use SimpleSAML\Utils\Config;
7
8
/**
9
* Drupal authentication source configuration parser.
@@ -91,9 +92,8 @@ public function __construct($config, $location)
91
92
$this->drupal_logout_url = $config->getString('drupal_logout_url', null);
93
$this->drupal_login_url = $config->getString('drupal_login_url', null);
94
- $ssp_config = Configuration::getInstance();
95
- $this->cookie_path = '/' . $ssp_config->getString('baseurlpath');
96
- $this->cookie_salt = $ssp_config->getString('secretsalt');
+ $this->cookie_path = Configuration::getInstance()->getBasePath();
+ $this->cookie_salt = Config::getSecretSalt();
97
}
98
99
0 commit comments